tick_animation is now sleep_animation (which just displays an indicator on new LCD)
This commit is contained in:
@@ -139,8 +139,8 @@ void world_clock2_face_activate(void *context)
|
||||
{
|
||||
world_clock2_state_t *state = (world_clock2_state_t *) context;
|
||||
|
||||
if (watch_tick_animation_is_running())
|
||||
watch_stop_tick_animation();
|
||||
if (watch_sleep_animation_is_running())
|
||||
watch_stop_sleep_animation();
|
||||
|
||||
switch (state->current_mode) {
|
||||
case WORLD_CLOCK2_MODE_DISPLAY:
|
||||
@@ -210,8 +210,8 @@ static bool mode_display(movement_event_t event, world_clock2_state_t *state)
|
||||
|
||||
pos = 0;
|
||||
if (event.event_type == EVENT_LOW_ENERGY_UPDATE) {
|
||||
if (!watch_tick_animation_is_running())
|
||||
watch_start_tick_animation(500);
|
||||
if (!watch_sleep_animation_is_running())
|
||||
watch_start_sleep_animation(500);
|
||||
|
||||
sprintf(buf, "%.2s%2d%2d%02d ",
|
||||
zone_names[state->current_zone],
|
||||
|
||||
Reference in New Issue
Block a user