Build system improvements and bug fixes (#1129)
* Assets: recompile * Makefile: add debug_other to main makefile * Github: stop compilation if compiled assets not in sync with assets sources * Assets: recompile * Makefile: correct debug_other rule. Bt: prevent on system start hook from waiting for bt service * Power, FuriHal: gauge self check report * Loader: move on system start hook call to the beginning
This commit is contained in:
@@ -19,10 +19,20 @@ typedef enum {
|
||||
FuriHalPowerICFuelGauge,
|
||||
} FuriHalPowerIC;
|
||||
|
||||
/** Initialize drivers
|
||||
*/
|
||||
/** Initialize drivers */
|
||||
void furi_hal_power_init();
|
||||
|
||||
/** Check if gauge is ok
|
||||
*
|
||||
* Verifies that:
|
||||
* - gauge is alive
|
||||
* - correct profile loaded
|
||||
* - self diagnostic status is good
|
||||
*
|
||||
* @return true if gauge is ok
|
||||
*/
|
||||
bool furi_hal_power_gauge_is_ok();
|
||||
|
||||
/** Get current insomnia level
|
||||
*
|
||||
* @return insomnia level: 0 - no insomnia, >0 - insomnia, bearer count.
|
||||
|
Reference in New Issue
Block a user