Merge pull request #421 from stevstrong/patch-10

Fix bug in OLED_I2C library
This commit is contained in:
Roger Clark 2018-01-03 08:25:32 +11:00 committed by GitHub
commit 98fdd47203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void OLED::update()
twi->TWI_THR = scrbuf[b];
while ((twi->TWI_SR & TWI_SR_TXRDY) != TWI_SR_TXRDY) {};
*/
static byte aa=scrbuf[b];
byte aa=scrbuf[b];
WIRE_WRITE(aa);
}