diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2023-01-25 10:37:16 -0600 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2023-01-25 10:37:16 -0600 |
commit | f66b276dad46b54a592f1c8e76509f0d16c40c0b (patch) | |
tree | b629c09e0de55bc0a9142fba7ef817fd39379ee4 | |
parent | e32f1d1926f2573c3540624a6a20f86f4954aa08 (diff) | |
download | Sensor-Watch-f66b276dad46b54a592f1c8e76509f0d16c40c0b.tar.gz Sensor-Watch-f66b276dad46b54a592f1c8e76509f0d16c40c0b.tar.bz2 Sensor-Watch-f66b276dad46b54a592f1c8e76509f0d16c40c0b.zip |
add hardcoded frequency correction values
-rw-r--r-- | movement/movement.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/movement/movement.c b/movement/movement.c index 1bb4a3af..64159519 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -317,6 +317,12 @@ uint8_t movement_claim_backup_register(void) { } void app_init(void) { +#ifdef 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)); movement_state.settings.bit.led_red_color = MOVEMENT_DEFAULT_RED_COLOR; |