diff options
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index 67a867f39e..220e0790e7 100644 --- a/include/system.h +++ b/include/system.h @@ -369,6 +369,13 @@ static inline void disable_sleep(uint32_t mask) } /** + * Postpone sleeping for at least this long, regardless of sleep_mask. + * + * @param Amount of time to postpone sleeping + */ +void delay_sleep_by(uint32_t us); + +/** * Use hibernate module to set up an RTC interrupt at a given * time from now * |