From 22f063b913884f0ee96ef3cd2495e4979f7f6d92 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Sun, 26 Apr 2015 22:16:10 +0200 Subject: [PATCH] add _bv macro from avr see #125 --- cores/esp8266/Arduino.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index f75f9ebf1..19c25e899 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -108,6 +108,7 @@ void ets_intr_unlock(); typedef unsigned int word; #define bit(b) (1UL << (b)) +#define _BV(b) (1UL << (b)) typedef uint8_t boolean; typedef uint8_t byte;