We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f0c1c commit fa22bc6Copy full SHA for fa22bc6
DHT.h
@@ -47,10 +47,11 @@
47
#define DHT21 21 /**< DHT TYPE 21 */
48
#define AM2301 21 /**< AM2301 */
49
50
-#if (TARGET_NAME==ARDUINO_NANO33BLE)
51
-// As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have microsecondsToClockCycles defined.
+#if (TARGET_NAME == ARDUINO_NANO33BLE)
+// As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
52
+// microsecondsToClockCycles defined.
53
#ifndef microsecondsToClockCycles
-#define microsecondsToClockCycles(a) ( (a) * (SystemCoreClock / 1000000L) )
54
+#define microsecondsToClockCycles(a) ((a) * (SystemCoreClock / 1000000L))
55
#endif
56
57
0 commit comments