Skip to content

Commit 8d7ed15

Browse files
Merge pull request rogerclarkmelbourne#421 from stevstrong/patch-10
Fix bug in OLED_I2C library
2 parents e28c31f + 6ebbdd2 commit 8d7ed15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: STM32F1/libraries/OLED_I2C/hardware/arm/HW_STM32.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void OLED::update()
109109
twi->TWI_THR = scrbuf[b];
110110
while ((twi->TWI_SR & TWI_SR_TXRDY) != TWI_SR_TXRDY) {};
111111
*/
112-
static byte aa=scrbuf[b];
112+
byte aa=scrbuf[b];
113113
WIRE_WRITE(aa);
114114

115115
}

0 commit comments

Comments
 (0)