mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-01-19 06:14:59 +01:00
rename start_audio_amp to audio_amp
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
9841c6806f
commit
378ee36e8e
@ -711,7 +711,7 @@ void run_menu_loop()
|
||||
RES_HW_SCREEN_HORIZONTAL * RES_HW_SCREEN_VERTICAL * sizeof(uint16_t));
|
||||
|
||||
/* Stop Ampli */
|
||||
system(SHELL_CMD_TURN_AMPLI_OFF);
|
||||
system(SHELL_CMD_AUDIO_AMP_OFF);
|
||||
|
||||
/// ------ Wait for menu UP key event ------
|
||||
int actions[IN_BINDTYPE_COUNT] = { 0, };
|
||||
@ -1085,7 +1085,7 @@ void run_menu_loop()
|
||||
}
|
||||
|
||||
/* Start Ampli */
|
||||
system(SHELL_CMD_TURN_AMPLI_ON);
|
||||
system(SHELL_CMD_AUDIO_AMP_ON);
|
||||
|
||||
/// ------ Reset last screen ------
|
||||
SDL_BlitSurface(backup_hw_screen, NULL, hw_screen, NULL);
|
||||
@ -1117,7 +1117,7 @@ int launch_resume_menu_loop()
|
||||
int option_idx=RESUME_YES;
|
||||
|
||||
/* Stop Ampli */
|
||||
system(SHELL_CMD_TURN_AMPLI_OFF);
|
||||
system(SHELL_CMD_AUDIO_AMP_OFF);
|
||||
|
||||
/* Save prev key repeat params and set new Key repeat */
|
||||
SDL_GetKeyRepeat(&backup_key_repeat_delay, &backup_key_repeat_interval);
|
||||
@ -1286,7 +1286,7 @@ int launch_resume_menu_loop()
|
||||
}
|
||||
|
||||
/* Start Ampli */
|
||||
system(SHELL_CMD_TURN_AMPLI_ON);
|
||||
system(SHELL_CMD_AUDIO_AMP_ON);
|
||||
|
||||
return option_idx;
|
||||
}
|
||||
|
||||
@ -38,8 +38,8 @@ typedef enum {RESUME_OPTIONS} ENUM_RESUME_OPTIONS;
|
||||
#define SHELL_CMD_BRIGHTNESS_SET "brightness set"
|
||||
#define SHELL_CMD_NOTIF "notif_set"
|
||||
#define SHELL_CMD_NOTIF_CLEAR "notif_clear"
|
||||
#define SHELL_CMD_TURN_AMPLI_ON "audio_amp on"
|
||||
#define SHELL_CMD_TURN_AMPLI_OFF "audio_amp off"
|
||||
#define SHELL_CMD_AUDIO_AMP_ON "audio_amp on"
|
||||
#define SHELL_CMD_AUDIO_AMP_OFF "audio_amp off"
|
||||
#define SHELL_CMD_CANCEL_SCHED_POWERDOWN "cancel_sched_powerdown"
|
||||
#define SHELL_CMD_INSTANT_PLAY "instant_play"
|
||||
#define SHELL_CMD_SHUTDOWN_FUNKEY "shutdown_funkey"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user