From 1e970bef80af23a1789ab2337a846ea428111a81 Mon Sep 17 00:00:00 2001 From: Egert Date: Thu, 17 Nov 2016 10:12:54 +0200 Subject: [PATCH] Timer1 define typo fix DIV265 to DIV256 80MHz / 256 = 312.5Khz --- cores/esp8266/Arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index 90e2da25db..2ad816f9a1 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -87,7 +87,7 @@ extern "C" { //timer dividers #define TIM_DIV1 0 //80MHz (80 ticks/us - 104857.588 us max) #define TIM_DIV16 1 //5MHz (5 ticks/us - 1677721.4 us max) -#define TIM_DIV265 3 //312.5Khz (1 tick = 3.2us - 26843542.4 us max) +#define TIM_DIV256 3 //312.5Khz (1 tick = 3.2us - 26843542.4 us max) //timer int_types #define TIM_EDGE 0 #define TIM_LEVEL 1