Skip to content

Commit 73c8bfc

Browse files
committed
Merge pull request #185 from ficeto/esp8266
missing libs and definitions from SDK
2 parents 7defe70 + a689d67 commit 73c8bfc

File tree

2 files changed

+1158
-1
lines changed

2 files changed

+1158
-1
lines changed

cores/esp8266/esp8266_peri.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ static uint8_t esp8266_gpioToFn[16] = {0x34, 0x18, 0x38, 0x14, 0x3C, 0x40, 0x1C,
132132
#define T1I ESP8266_REG(0x60C) //Interrupt Status Register (1bit) write to clear
133133
//edge interrupt enable register
134134
#define TEIE ESP8266_DREG(0x04)
135-
#define TEIE1 0x02 //it for timer 1
135+
#define TEIE1 0x02 //bit for timer 1
136136

137137
//Timer 2 Registers (32bit CountUp Timer)
138138
#define T2L ESP8266_REG(0x620) //Load Value (Starting Value of Counter)

0 commit comments

Comments
 (0)