mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-10 05:59:08 -07:00
Fix some build errors
This commit is contained in:
@@ -720,8 +720,7 @@ void playlist_free(Playlist* app) {
|
||||
free(app);
|
||||
}
|
||||
|
||||
int32_t playlist_app(void* p) {
|
||||
UNUSED(p);
|
||||
int32_t playlist_app(char* p) {
|
||||
dolphin_deed(DolphinDeedPluginStart);
|
||||
|
||||
// create playlist folder
|
||||
|
||||
@@ -12,7 +12,7 @@ App(
|
||||
"bad_kb",
|
||||
"u2f",
|
||||
"archive",
|
||||
"clock",
|
||||
"nightstand",
|
||||
"subghz_remote",
|
||||
"main_apps_on_start",
|
||||
],
|
||||
|
||||
@@ -35,7 +35,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
||||
|
||||
// Select keybind item in submenu
|
||||
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++) {
|
||||
@@ -48,7 +48,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
||||
|
||||
// Select keybind item in submenu
|
||||
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) {
|
||||
@@ -62,7 +62,7 @@ void desktop_settings_scene_keybinds_action_on_enter(void* context) {
|
||||
|
||||
// Select keybind item in submenu
|
||||
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