Explorar o código

fix : F_CPU compatible with wio-link for 80M.

linux-downey %!s(int64=7) %!d(string=hai) anos
pai
achega
1a1f943ea3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      DHT.h

+ 2 - 0
DHT.h

@@ -18,6 +18,8 @@
 // 168MHz STM32F405 STM32F407
 #elif (F_CPU == 168000000L)
 #define COUNT 40
+#elif (F_CPU == 80000000L)
+#define COUNT 25
 #else
 #error "CPU SPEED NOT SUPPORTED"
 #endif