Skip to content

Commit

Permalink
Fix too wide 'word' type -- it should be 16-bit instead of 32-bit (es…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystic-Mirage authored and devyte committed Nov 19, 2017
1 parent 78b0f44 commit 117bc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void ets_intr_unlock();
#define _NOP() do { __asm__ volatile ("nop"); } while (0)
#endif

typedef unsigned int word;
typedef uint16_t word;

#define bit(b) (1UL << (b))
#define _BV(b) (1UL << (b))
Expand Down

0 comments on commit 117bc87

Please sign in to comment.