1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Fix too wide 'word' type -- it should be 16-bit instead of 32-bit (#3851)

This commit is contained in:
Mystic-Mirage 2017-11-20 00:42:15 +02:00 committed by Develo
parent 78b0f44348
commit 117bc875ff

View File

@ -178,7 +178,7 @@ void ets_intr_unlock();
#define _NOP() do { __asm__ volatile ("nop"); } while (0) #define _NOP() do { __asm__ volatile ("nop"); } while (0)
#endif #endif
typedef unsigned int word; typedef uint16_t word;
#define bit(b) (1UL << (b)) #define bit(b) (1UL << (b))
#define _BV(b) (1UL << (b)) #define _BV(b) (1UL << (b))