Skip to content

Commit 22f063b

Browse files
Links2004igrr
authored andcommitted
add _bv macro from avr
see #125
1 parent 2472970 commit 22f063b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)