|
PebbleOS
|
Source of the PEBBLE_TICK_EVENT.
More...
Functions | |
| void | tick_timer_add_subscriber (PebbleTask task) |
| Add a tick event subscriber. | |
| void | tick_timer_remove_subscriber (PebbleTask task) |
| Remove a tick event subscriber added with tick_timer_add_subscriber(). | |
Source of the PEBBLE_TICK_EVENT.
The event is only generated while at least one subscriber exists: every second while a task subscribed through sys_tick_timer_subscribe() with SECOND_UNIT, every minute otherwise.
| void tick_timer_add_subscriber | ( | PebbleTask | task | ) |
Add a tick event subscriber.
| task | Subscribing task. |
| void tick_timer_remove_subscriber | ( | PebbleTask | task | ) |
Remove a tick event subscriber added with tick_timer_add_subscriber().
| task | Subscribing task. |