Skip to content

Commit 117bc87

Browse files
Mystic-Miragedevyte
authored andcommitted
Fix too wide 'word' type -- it should be 16-bit instead of 32-bit (#3851)
1 parent 78b0f44 commit 117bc87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/Arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void ets_intr_unlock();
178178
#define _NOP() do { __asm__ volatile ("nop"); } while (0)
179179
#endif
180180

181-
typedef unsigned int word;
181+
typedef uint16_t word;
182182

183183
#define bit(b) (1UL << (b))
184184
#define _BV(b) (1UL << (b))

0 commit comments

Comments
 (0)