Skip to content

Commit 5f0a581

Browse files
committed
Add definition for _BV on arm processors
1 parent 0fac5c3 commit 5f0a581

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Adafruit_SSD1325.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ All text above, and the splash screen must be included in any redistribution
2323
#include "WProgram.h"
2424
#endif
2525

26+
#ifdef __arm__
27+
#define _BV(b) (1<<(b))
28+
#endif
29+
2630
#include <Adafruit_GFX.h>
2731

2832
#define BLACK 0

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit SSD1325
2-
version=1.0.2
2+
version=1.0.3
33
author=Adafruit
44
maintainer=Adafruit <[email protected]>
55
sentence=SSD1325 monochrome OLED library

0 commit comments

Comments
 (0)