Api Hal OS/Power: split insomnia and return to where it belongs. (#393)

This commit is contained in:
あく
2021-03-31 20:55:00 +03:00
committed by GitHub
parent 5439e232cc
commit 81ace53cc1
4 changed files with 50 additions and 16 deletions

View File

@@ -39,8 +39,11 @@ void api_hal_power_insomnia_enter();
*/
void api_hal_power_insomnia_exit();
/** Check if sleep availble */
bool api_hal_power_sleep_available();
/** Check if deep sleep availble */
bool api_hal_power_deep_available();
bool api_hal_power_deep_sleep_available();
/** Go to sleep */
void api_hal_power_sleep();