mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 22:48:35 -07:00
Fix some build errors
This commit is contained in:
@@ -720,8 +720,7 @@ void playlist_free(Playlist* app) {
|
|||||||
free(app);
|
free(app);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t playlist_app(void* p) {
|
int32_t playlist_app(char* p) {
|
||||||
UNUSED(p);
|
|
||||||
dolphin_deed(DolphinDeedPluginStart);
|
dolphin_deed(DolphinDeedPluginStart);
|
||||||
|
|
||||||
// create playlist folder
|
// create playlist folder
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ App(
|
|||||||
"bad_kb",
|
"bad_kb",
|
||||||
"u2f",
|
"u2f",
|
||||||
"archive",
|
"archive",
|
||||||
"clock",
|
"nightstand",
|
||||||
"subghz_remote",
|
"subghz_remote",
|
||||||
"main_apps_on_start",
|
"main_apps_on_start",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
|||||||
|
|
||||||
// Select keybind item in submenu
|
// Select keybind item in submenu
|
||||||
if(!strncmp(FLIPPER_EXTERNAL_APPS[i].name, keybind, MAX_KEYBIND_LENGTH)) {
|
if(!strncmp(FLIPPER_EXTERNAL_APPS[i].name, keybind, MAX_KEYBIND_LENGTH)) {
|
||||||
pre_select_item = FLIPPER_EXTERNAL_APPS[i].name;
|
pre_select_item = (uint32_t)FLIPPER_EXTERNAL_APPS[i].name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(size_t i = 0; i < FLIPPER_APPS_COUNT; i++) {
|
for(size_t i = 0; i < FLIPPER_APPS_COUNT; i++) {
|
||||||
@@ -48,7 +48,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
|||||||
|
|
||||||
// Select keybind item in submenu
|
// Select keybind item in submenu
|
||||||
if(!strncmp(FLIPPER_APPS[i].name, keybind, MAX_KEYBIND_LENGTH)) {
|
if(!strncmp(FLIPPER_APPS[i].name, keybind, MAX_KEYBIND_LENGTH)) {
|
||||||
pre_select_item = FLIPPER_APPS[i].name;
|
pre_select_item = (uint32_t)FLIPPER_APPS[i].name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(action_type == DesktopSettingsAppKeybindActionTypeMoreActions) {
|
} else if(action_type == DesktopSettingsAppKeybindActionTypeMoreActions) {
|
||||||
@@ -62,7 +62,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
|||||||
|
|
||||||
// Select keybind item in submenu
|
// Select keybind item in submenu
|
||||||
if(!strncmp(EXTRA_KEYBINDS[i], keybind, MAX_KEYBIND_LENGTH)) {
|
if(!strncmp(EXTRA_KEYBINDS[i], keybind, MAX_KEYBIND_LENGTH)) {
|
||||||
pre_select_item = EXTRA_KEYBINDS[i];
|
pre_select_item = (uint32_t)EXTRA_KEYBINDS[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user