Loading...
Searching...
No Matches
store_cadence.h File Reference

The shared cadence the stores hang their periodic work on. More...

#include <pebble.h>

Go to the source code of this file.

Macros

#define STORE_CADENCE_MAX   8
 Room for one entry per store that wants the cadence.

Functions

void store_cadence_register (void(*cb)(void))
 Ask for cb to run each time the face's cadence comes round. A store calls this from its own init, so no face has to wire it up by hand.
void store_cadence_fire (void)
 Run everything registered, in the order it was registered. The time store calls this from its ticker, before it tells the face the time moved.

Detailed Description

The shared cadence the stores hang their periodic work on.