mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
Api-hal-power: reset routine. Power: safe to poweroff message, cleanup. (#436)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <gui/canvas.h>
|
||||
#include <gui/view.h>
|
||||
|
||||
typedef enum { PowerViewInfo, PowerViewDialog, PowerViewOff } PowerView;
|
||||
typedef enum { PowerViewInfo, PowerViewDialog, PowerViewOff, PowerViewDisconnect } PowerView;
|
||||
|
||||
typedef struct {
|
||||
float current_charger;
|
||||
@@ -34,3 +34,5 @@ typedef struct {
|
||||
void power_info_draw_callback(Canvas* canvas, void* context);
|
||||
|
||||
void power_off_draw_callback(Canvas* canvas, void* context);
|
||||
|
||||
void power_disconnect_draw_callback(Canvas* canvas, void* context);
|
||||
Reference in New Issue
Block a user