mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Merge branch 'fix/storage-double-mount-on-boot' into mntm-dev --nobuild
This commit is contained in:
@@ -137,6 +137,7 @@
|
||||
|
||||
### Fixed:
|
||||
- CLI: Fix long delay with quick connect/disconnect, qFlipper should connect faster as expected again (by @WillyJL)
|
||||
- Storage: Dont send mount event if SD mounted at boot, fix SD card icon showing late on boot (by @WillyJL)
|
||||
- Bad KB:
|
||||
- Fix modifier keys with HOLD/RELEASE commands (by @WillyJL)
|
||||
- OFW: Fix demo_windows.txt for newer version of ai enabled Windows Notepad not able to keep up with default fast input text (by @ase1590)
|
||||
|
||||
@@ -47,11 +47,11 @@ Storage* storage_app_alloc(void) {
|
||||
#endif
|
||||
|
||||
// sd icon gui
|
||||
app->sd_gui.enabled = false;
|
||||
app->sd_gui.enabled = (app->storage[ST_EXT].status != StorageStatusNotReady);
|
||||
app->sd_gui.view_port = view_port_alloc();
|
||||
view_port_set_width(app->sd_gui.view_port, icon_get_width(ICON_SD_MOUNTED));
|
||||
view_port_draw_callback_set(app->sd_gui.view_port, storage_app_sd_icon_draw_callback, app);
|
||||
view_port_enabled_set(app->sd_gui.view_port, false);
|
||||
view_port_enabled_set(app->sd_gui.view_port, app->sd_gui.enabled);
|
||||
|
||||
return app;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user