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

Holds the list of work the stores want run on the face's cadence. More...

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.

Variables

static CallbackListFn s_entries [STORE_CADENCE_MAX]
 The registered work, in the order it was registered.
static CallbackList s_list = {s_entries, STORE_CADENCE_MAX, 0}
 The list over that storage.

Detailed Description

Holds the list of work the stores want run on the face's cadence.