File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,11 @@ void DisplayApp::Refresh() {
186
186
TickType_t queueTimeout;
187
187
switch (state) {
188
188
case States::Idle:
189
- queueTimeout = portMAX_DELAY;
189
+ if (settingsController.GetAlwaysOnDisplay ()) {
190
+ queueTimeout = lv_task_handler ();
191
+ } else {
192
+ queueTimeout = portMAX_DELAY;
193
+ }
190
194
break ;
191
195
case States::Running:
192
196
if (!currentScreen->IsRunning ()) {
Original file line number Diff line number Diff line change @@ -320,7 +320,12 @@ void SystemTask::Work() {
320
320
// if it's in sleep mode. Avoid bricked device by disabling sleep mode on these versions.
321
321
spiNorFlash.Sleep ();
322
322
}
323
- spi.Sleep ();
323
+
324
+ // If the spi goes to sleep, AlwaysOn will not update the screen while dim, and the screen colors invert
325
+ // upon wakeup
326
+ if (!settingsController.GetAlwaysOnDisplay ()) {
327
+ spi.Sleep ();
328
+ }
324
329
325
330
// Double Tap needs the touch screen to be in normal mode
326
331
if (!settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::DoubleTap)) {
You can’t perform that action at this time.
0 commit comments