From: Joey Castillo Date: Fri, 16 May 2025 01:33:26 +0000 (-0400) Subject: FREQCORR is now handled in _watch_rtc_init X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=374a93846d3bb6b0eca94793edc0d95cd4b0d7ec;p=sensor-watch.git FREQCORR is now handled in _watch_rtc_init --- diff --git a/movement.c b/movement.c index fd8fa14..c357983 100644 --- a/movement.c +++ b/movement.c @@ -567,14 +567,6 @@ void app_init(void) { } HAL_GPIO_VBUS_DET_off(); -#if defined(NO_FREQCORR) - watch_rtc_freqcorr_write(0, 0); -#elif defined(WATCH_IS_BLUE_BOARD) - watch_rtc_freqcorr_write(11, 0); -#else - watch_rtc_freqcorr_write(22, 0); -#endif - memset(&movement_state, 0, sizeof(movement_state)); bool settings_file_exists = filesystem_file_exists("settings.u32");