[FL-2038] Power off and auto power off on first start screen (#821)

* Power: change power_off signature to match implementation

* Desktop: auto power off on first start screen and with ok button.

Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
あく
2021-11-16 03:12:30 +03:00
committed by GitHub
parent 516a437305
commit b3d8f0b950
5 changed files with 91 additions and 46 deletions

View File

@@ -46,7 +46,7 @@ typedef struct {
/** Power off device
*/
void power_off();
void power_off(Power* power);
/** Reboot device
* @param mode - PowerBootMode