mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
add hardcoded frequency correction values
This commit is contained in:
parent
e32f1d1926
commit
f66b276dad
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue