21#ifndef PROTOCORE_SLEEP_SCHED_H
22#define PROTOCORE_SLEEP_SCHED_H
26#if PROTOCORE_ENABLE_SLEEP_SCHED
43 uint32_t last_active_ms;
44 const protocore_sleep_cfg *cfg;
71extern SleepSchedVars SleepSchedV;
76 void (*
const next)(uint8_t *work);
81void protocore_sleep_sched_next(uint8_t *work);
87static const SleepSchedNs SleepSched __attribute__((unused)) = {
88 .next = protocore_sleep_sched_next,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS