mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Merge pull request #174 from per1234/fix-nano-33-ble-conditional
Make preprocessor conditional false when identifier undefined
This commit is contained in:
commit
cfaa202f96
2
DHT.h
2
DHT.h
@ -47,7 +47,7 @@
|
|||||||
#define DHT21 21 /**< DHT TYPE 21 */
|
#define DHT21 21 /**< DHT TYPE 21 */
|
||||||
#define AM2301 21 /**< AM2301 */
|
#define AM2301 21 /**< AM2301 */
|
||||||
|
|
||||||
#if (TARGET_NAME == ARDUINO_NANO33BLE)
|
#if defined(TARGET_NAME) && (TARGET_NAME == ARDUINO_NANO33BLE)
|
||||||
#ifndef microsecondsToClockCycles
|
#ifndef microsecondsToClockCycles
|
||||||
/*!
|
/*!
|
||||||
* As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
|
* As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
|
||||||
|
Loading…
Reference in New Issue
Block a user