Version 1.3.3 proper integration.

Fixed Turbo mode.
This commit is contained in:
GuruSR 2021-11-25 22:20:37 -05:00 committed by GitHub
parent 5568a0483f
commit a726d34aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,6 +271,9 @@ void WatchyGSR::init(){
break; break;
} }
display.init(0,false); // Force it here so it fixes the border.
display.epd2.setDarkBorder(Options.Border);
// Sometimes BMA crashes - simply try to reinitialize bma... // Sometimes BMA crashes - simply try to reinitialize bma...
if (sensor.getErrorCode() != 0) { if (sensor.getErrorCode() != 0) {
@ -590,7 +593,6 @@ void WatchyGSR::init(){
void WatchyGSR::showWatchFace(){ void WatchyGSR::showWatchFace(){
if (Options.Performance > 0) RefreshCPU((Options.Performance == 1 ? CPUMID : CPUMAX)); if (Options.Performance > 0) RefreshCPU((Options.Performance == 1 ? CPUMID : CPUMAX));
display.init(0,false); // Force it here so it fixes the border.
display.epd2.setDarkBorder(Options.Border); display.epd2.setDarkBorder(Options.Border);
display.setFullWindow(); display.setFullWindow();
drawWatchFace(); drawWatchFace();