Skip to content

Commit 29cf4c4

Browse files
committed
add _bv macro from avr
see #125
1 parent 58edcf7 commit 29cf4c4

File tree

1 file changed

+1
-0
lines changed
  • hardware/esp8266com/esp8266/cores/esp8266

1 file changed

+1
-0
lines changed

hardware/esp8266com/esp8266/cores/esp8266/Arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ void ets_intr_unlock();
108108
typedef unsigned int word;
109109

110110
#define bit(b) (1UL << (b))
111+
#define _BV(b) (1UL << (b))
111112

112113
typedef uint8_t boolean;
113114
typedef uint8_t byte;

0 commit comments

Comments
 (0)