diff options
Diffstat (limited to 'src/pebble-my-data.c')
-rw-r--r-- | src/pebble-my-data.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pebble-my-data.c b/src/pebble-my-data.c index c9110a0..530755e 100644 --- a/src/pebble-my-data.c +++ b/src/pebble-my-data.c @@ -632,9 +632,6 @@ void in_received_handler(DictionaryIterator *received, void *context) { } } - if (config_shake) - accel_tap_service_subscribe(handle_shake); - if (config_interval) schedule_update(config_interval*1000, MSG_PERIODIC_UPDATE); } @@ -811,6 +808,8 @@ static void window_load(Window *window) { tick_timer_service_subscribe(SECOND_UNIT, handle_timer_tick); else tick_timer_service_subscribe(MINUTE_UNIT, handle_timer_tick); + if (config_shake) + accel_tap_service_subscribe(handle_shake); handle_timer_tick(NULL, MINUTE_UNIT); if (persist_exists(KEY_CONTENT)) { |