[FL-1228] FuriHal: add charge suppress API. (#743)
* FuriHal: add charge suppress API. * FuriHal: add guards to insomnia and charge suppress routines. * FuriHal: proper API for scheduler in power. * FuriHal: move charging control from critical section, fix deadlock. * Gui: use FreeRTOS native timers controls for IconAnimation, fix crash on animation start stop
This commit is contained in:
@@ -12,6 +12,12 @@ void bq25896_poweroff();
|
||||
/** Is currently charging */
|
||||
bool bq25896_is_charging();
|
||||
|
||||
/** Enable charging */
|
||||
void bq25896_enable_charging();
|
||||
|
||||
/** Disable charging */
|
||||
void bq25896_disable_charging();
|
||||
|
||||
/** Enable otg */
|
||||
void bq25896_enable_otg();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user