diff --git a/movement/movement.c b/movement/movement.c index eabc29c..256aa8a 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -458,7 +458,6 @@ int16_t get_timezone_offset(uint8_t timezone_idx, watch_date_time date_time) { } void app_init(void) { - const int16_t* timezone_offsets; #if defined(NO_FREQCORR) watch_rtc_freqcorr_write(0, 0); #elif defined(WATCH_IS_BLUE_BOARD) @@ -485,6 +484,7 @@ void app_init(void) { filesystem_init(); #if __EMSCRIPTEN__ + const int16_t* timezone_offsets; int32_t time_zone_offset = EM_ASM_INT({ return -new Date().getTimezoneOffset(); }); diff --git a/movement/watch_faces/clock/simple_clock_face.c b/movement/watch_faces/clock/simple_clock_face.c index 3866e2c..20dfb54 100644 --- a/movement/watch_faces/clock/simple_clock_face.c +++ b/movement/watch_faces/clock/simple_clock_face.c @@ -151,6 +151,7 @@ void simple_clock_face_resign(movement_settings_t *settings, void *context) { } bool simple_clock_face_wants_background_task(movement_settings_t *settings, void *context) { + (void) settings; simple_clock_state_t *state = (simple_clock_state_t *)context; watch_date_time date_time = watch_rtc_get_date_time(); uint8_t hour_dst = check_and_act_on_daylight_savings(date_time); diff --git a/movement/watch_faces/settings/set_time_face.c b/movement/watch_faces/settings/set_time_face.c index b16cb6d..1b19df8 100644 --- a/movement/watch_faces/settings/set_time_face.c +++ b/movement/watch_faces/settings/set_time_face.c @@ -134,7 +134,7 @@ bool set_time_face_loop(movement_event_t event, movement_settings_t *settings, v return movement_default_loop_handler(event, settings); } - char buf[11]; + char buf[13]; if (current_page < 3) { watch_set_colon(); if (settings->bit.clock_mode_24h) {