Ver Fonte

VGM Tool: Fixed RGB firmware UART regression

WillyJL há 7 meses atrás
pai
commit
e28905b4d6

BIN
video_game_module_tool/files/vgm-fw-rgb-0.1.0.uf2


BIN
video_game_module_tool/files/vgm-fw-rgb.uf2


+ 2 - 2
video_game_module_tool/scenes/scene_confirm.c

@@ -25,8 +25,8 @@ void scene_confirm_on_enter(void* context) {
     FuriString* file_name = furi_string_alloc();
     path_extract_filename(app->file_path, file_name, false);
 
-    FuriString* label = furi_string_alloc_printf("Install %s?", furi_string_get_cstr(file_name));
-    widget_add_string_element(
+    FuriString* label = furi_string_alloc_printf("Install\n%s?", furi_string_get_cstr(file_name));
+    widget_add_string_multiline_element(
         app->widget, 64, 0, AlignCenter, AlignTop, FontPrimary, furi_string_get_cstr(label));
 
     furi_string_free(label);

+ 1 - 1
video_game_module_tool/scenes/scene_start.c

@@ -49,7 +49,7 @@ bool scene_start_on_event(void* context, SceneManagerEvent event) {
             furi_string_set(app->file_path, VGM_DEFAULT_FW_FILE);
             scene_manager_next_scene(app->scene_manager, SceneConfirm);
         } else if(event.event == SceneStartIndexInstallRGB) {
-            furi_string_set(app->file_path, APP_ASSETS_PATH("vgm-fw-rgb.uf2"));
+            furi_string_set(app->file_path, APP_ASSETS_PATH("vgm-fw-rgb-0.1.0.uf2"));
             scene_manager_next_scene(app->scene_manager, SceneConfirm);
         } else if(event.event == SceneStartIndexInstallCustom) {
             scene_manager_next_scene(app->scene_manager, SceneFileSelect);