1
0
forked from me/IronOS

Update OLED.cpp

This commit is contained in:
Ben V. Brown
2021-05-04 19:23:34 +10:00
parent a7f1c076ef
commit 0be4d596e3

View File

@@ -238,7 +238,7 @@ void OLED::maskScrollIndicatorOnOLED() {
0x00, 0x00,
0x00, 0x00,
}; };
FRToSI2C::Transmit(DEVICEADDR_OLED, maskCommands, sizeof(maskCommands)); I2C_CLASS::Transmit(DEVICEADDR_OLED, maskCommands, sizeof(maskCommands));
} }
/** /**
@@ -331,7 +331,7 @@ void OLED::transitionScrollDown() {
// Also update setup command for "set display start line": // Also update setup command for "set display start line":
OLED_Setup_Array[8].val = scrollCommandByte; OLED_Setup_Array[8].val = scrollCommandByte;
FRToSI2C::I2C_RegisterWrite(DEVICEADDR_OLED, 0x80, scrollCommandByte); I2C_CLASS::I2C_RegisterWrite(DEVICEADDR_OLED, 0x80, scrollCommandByte);
osDelay(TICKS_100MS / 5); osDelay(TICKS_100MS / 5);
} }
} }