Fix some build errors

This commit is contained in:
Willy-JL
2023-07-14 02:52:58 +02:00
parent 15639f4745
commit 49fe96247a
3 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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",
], ],

View File

@@ -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];
} }
} }
} }