Merge pull request #189 from klone52/patch-1

Fix comment on DHT22 and DHT21 variables
This commit is contained in:
Limor "Ladyada" Fried 2021-10-25 14:26:26 -04:00 committed by GitHub
commit c14960c223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
DHT.h
View File

@ -43,8 +43,8 @@
/* Define types of sensors. */ /* Define types of sensors. */
static const uint8_t DHT11{11}; /**< DHT TYPE 11 */ static const uint8_t DHT11{11}; /**< DHT TYPE 11 */
static const uint8_t DHT12{12}; /**< DHY TYPE 12 */ static const uint8_t DHT12{12}; /**< DHY TYPE 12 */
static const uint8_t DHT21{21}; /**< DHT TYPE 22 */ static const uint8_t DHT21{21}; /**< DHT TYPE 21 */
static const uint8_t DHT22{22}; /**< DHT TYPE 21 */ static const uint8_t DHT22{22}; /**< DHT TYPE 22 */
static const uint8_t AM2301{21}; /**< AM2301 */ static const uint8_t AM2301{21}; /**< AM2301 */
#if defined(TARGET_NAME) && (TARGET_NAME == ARDUINO_NANO33BLE) #if defined(TARGET_NAME) && (TARGET_NAME == ARDUINO_NANO33BLE)