mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Fix lint errors
This commit is contained in:
parent
a1f0c1c038
commit
fa22bc6ca4
3
DHT.h
3
DHT.h
@ -48,7 +48,8 @@
|
|||||||
#define AM2301 21 /**< AM2301 */
|
#define AM2301 21 /**< AM2301 */
|
||||||
|
|
||||||
#if (TARGET_NAME == ARDUINO_NANO33BLE)
|
#if (TARGET_NAME == ARDUINO_NANO33BLE)
|
||||||
// As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have microsecondsToClockCycles defined.
|
// As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
|
||||||
|
// microsecondsToClockCycles defined.
|
||||||
#ifndef microsecondsToClockCycles
|
#ifndef microsecondsToClockCycles
|
||||||
#define microsecondsToClockCycles(a) ((a) * (SystemCoreClock / 1000000L))
|
#define microsecondsToClockCycles(a) ((a) * (SystemCoreClock / 1000000L))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user