Force write screen on side animation cancel

.
This commit is contained in:
Ben V. Brown
2023-07-21 18:13:00 +10:00
parent 3347bc6bde
commit c85fa4affa
3 changed files with 7 additions and 3 deletions

View File

@@ -11,8 +11,10 @@ OperatingMode performCJCC(const ButtonState buttons, guiContext *cxt) {
OLED::print(translatedString(Tr->CJCCalibrating), FontStyle::SMALL);
OLED::setCursor(0, 8);
OLED::print(SmallSymbolDot, FontStyle::SMALL);
for (uint8_t x = 0; x < (cxt->scratch_state.state1 / 4); x++)
for (uint8_t x = 0; x < (cxt->scratch_state.state1 / 4); x++) {
OLED::print(SmallSymbolDot, FontStyle::SMALL);
}
cxt->scratch_state.state1++;
return OperatingMode::CJCCalibration;
}