diff options
author | neonloop | 2023-01-15 07:22:56 +0000 |
---|---|---|
committer | neonloop | 2023-01-15 07:22:56 +0000 |
commit | 798c44a8965e5533764edb9ccae05a5929b01512 (patch) | |
tree | eb65ada94d82a55517ff481c311cbdd180e847cf /funkey/fk_menu.h | |
parent | 80fee512c3c5485d291451adc8b3437b8a85319f (diff) | |
download | picoarch-798c44a8965e5533764edb9ccae05a5929b01512.tar.gz picoarch-798c44a8965e5533764edb9ccae05a5929b01512.tar.bz2 picoarch-798c44a8965e5533764edb9ccae05a5929b01512.zip |
Fixes occasional instant play failures
When resuming instant play, FunKey S saves path of executable after
launching executable in background. If this happens fast enough,
process will still be /bin/busybox, not /opt/picoarch, saving wrong
path, failing next launch. To workaround, should save path again
before suspending.
Diffstat (limited to 'funkey/fk_menu.h')
-rw-r--r-- | funkey/fk_menu.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/funkey/fk_menu.h b/funkey/fk_menu.h index 36bc460..8b9e7a4 100644 --- a/funkey/fk_menu.h +++ b/funkey/fk_menu.h @@ -129,9 +129,8 @@ typedef enum {RESUME_OPTIONS} ENUM_RESUME_OPTIONS; #define SHELL_CMD_USB_CHECK_IS_SHARING "share is_sharing" #endif #ifdef HAS_MENU_POWERDOWN -#define SHELL_CMD_POWERDOWN "shutdown_funkey" -#define SHELL_CMD_SCHEDULE_POWERDOWN "sched_shutdown" -#define SHELL_CMD_CANCEL_SCHED_POWERDOWN "cancel_sched_powerdown" +#define SHELL_CMD_POWERDOWN "powerdown" +#define SHELL_CMD_POWERDOWN_HANDLE "powerdown handle" #endif #ifdef HAS_MENU_LAUNCHER #define SHELL_CMD_SET_LAUNCHER_GMENU2X "set_launcher gmenu2x" |