Calling the RTC 32k oscillator calibration function every 15 minutes, may be changed to a longer interval in the future
This commit is contained in:
parent
4919b17c3c
commit
45e578e444
@ -897,7 +897,8 @@ void gfx_task(void *param)
|
||||
}
|
||||
|
||||
/* Perform the periodic background tasks */
|
||||
APP_LOG_INFO("Periodic timer wakeup !");
|
||||
APP_LOG_INFO("Periodic timer wakeup :"NEW_LINE
|
||||
"\t - RTC calibration : %d", tls_pmu_32k_calibrate());
|
||||
|
||||
} while (watch_peripherals_wakeup_source_is_timer());
|
||||
|
||||
@ -910,7 +911,7 @@ void gfx_task(void *param)
|
||||
_perform_deferred_display_wake_up_set_timestamp();
|
||||
}
|
||||
|
||||
// Necessary to not enter the if condition over and over again
|
||||
// Necessary TO NOT enter the if condition over and over again
|
||||
lv_disp_trig_activity(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user