Skip to content

Commit

Permalink
Merge pull request #174 from per1234/fix-nano-33-ble-conditional
Browse files Browse the repository at this point in the history
Make preprocessor conditional false when identifier undefined
  • Loading branch information
ladyada authored Dec 2, 2020
2 parents b64fe15 + 8611588 commit cfaa202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DHT.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define DHT21 21 /**< DHT TYPE 21 */
#define AM2301 21 /**< AM2301 */

#if (TARGET_NAME == ARDUINO_NANO33BLE)
#if defined(TARGET_NAME) && (TARGET_NAME == ARDUINO_NANO33BLE)
#ifndef microsecondsToClockCycles
/*!
* As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
Expand Down

0 comments on commit cfaa202

Please sign in to comment.