mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-14 19:53:35 -07:00
Fix battery icon cast (#286)
This commit is contained in:
@@ -169,7 +169,7 @@ void XTREME_SETTINGS_SAVE() {
|
||||
flipper_format_write_bool(file, "lockscreen_date", &x->lockscreen_date, 1);
|
||||
flipper_format_write_bool(file, "lockscreen_statusbar", &x->lockscreen_statusbar, 1);
|
||||
flipper_format_write_bool(file, "lockscreen_prompt", &x->lockscreen_prompt, 1);
|
||||
flipper_format_write_uint32(file, "battery_icon", (uint32_t*)&x->battery_icon, 1);
|
||||
flipper_format_write_uint32(file, "battery_icon", &x->battery_icon, 1);
|
||||
flipper_format_write_bool(file, "status_icons", &x->status_icons, 1);
|
||||
flipper_format_write_bool(file, "bar_borders", &x->bar_borders, 1);
|
||||
flipper_format_write_bool(file, "bar_background", &x->bar_background, 1);
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ typedef struct {
|
||||
bool lockscreen_date;
|
||||
bool lockscreen_statusbar;
|
||||
bool lockscreen_prompt;
|
||||
BatteryIcon battery_icon;
|
||||
uint32_t battery_icon;
|
||||
bool status_icons;
|
||||
bool bar_borders;
|
||||
bool bar_background;
|
||||
|
||||
Reference in New Issue
Block a user