]> git.earman.xyz Git - sensor-watch.git/commitdiff
FREQCORR is now handled in _watch_rtc_init
authorJoey Castillo <joeycastillo@utexas.edu>
Fri, 16 May 2025 01:33:26 +0000 (21:33 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Fri, 16 May 2025 01:33:26 +0000 (21:33 -0400)
movement.c

index fd8fa140c8470da62c3c26ebbc1bf4d5eab2fe5f..c35798364237d3d77dc2a759deb55ed699f5d3c5 100644 (file)
@@ -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");