8000 Merge pull request #421 from stevstrong/patch-10 · ArduinoWorks/Arduino_STM32@98fdd47 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 98fdd47

Browse files
Merge pull request rogerclarkmelbourne#421 from stevstrong/patch-10
Fix bug in OLED_I2C library
2 parents d5c6f63 + 63f784f commit 98fdd47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STM32F1/libraries/OLED_I2C/hardware/arm/HW_STM32.h

Lines changed: 1 addition & 1 deletion
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)
0