1
0
forked from me/IronOS

Split display checksum out

This commit is contained in:
Ben V. Brown
2022-11-20 21:16:38 +11:00
parent bbb0cfe713
commit d0ed30ecb6
2 changed files with 15 additions and 7 deletions

View File

@@ -372,6 +372,7 @@ void OLED::setRotation(bool leftHanded) {
const int len = FRAMEBUFFER_START + (OLED_WIDTH * 2);
I2C_CLASS::Transmit(DEVICEADDR_OLED, screenBuffer, len);
osDelay(TICKS_10MS);
checkDisplayBufferChecksum();
}
void OLED::setBrightness(uint8_t contrast) {