Skip to content

Commit 49962c1

Browse files
author
Jim Lindblom
committed
Adding catch if _BV isn't defined
1 parent 2b7ef3e commit 49962c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SFE_MicroOLED.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4141
#endif
4242
#include <SFE_MicroOLED.h>
4343

44+
#ifndef _BV
45+
#define _BV(x) (1<<x)
46+
#endif
47+
4448
// The 31x48 font is handy, but uses a big chunk of flash memory - about 7k.
4549
// If you want to use font 4 in your sketch, uncomment out the line below:
4650
//#define INCLUDE_LARGE_LETTER_FONT

0 commit comments

Comments
 (0)