From fd94902b974e2143a5f40d4a83ef7f6ce3e6a3d2 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sun, 9 May 2021 22:40:35 +0200 Subject: [PATCH] rename start_audio_amp to audio_amp Signed-off-by: Vincent-FK --- frontend/menu.c | 8 ++++---- frontend/menu.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/menu.c b/frontend/menu.c index b4036f408..ded9f7d9f 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -771,7 +771,7 @@ void run_menu_loop() RES_HW_SCREEN_HORIZONTAL * RES_HW_SCREEN_VERTICAL * sizeof(u16)); /* Stop Ampli */ - system(SHELL_CMD_TURN_AMPLI_OFF); + system(SHELL_CMD_AUDIO_AMP_OFF); /// ------ Wait for menu UP key event ------ while(event.type != SDL_KEYUP || event.key.keysym.sym != SDLK_q){ @@ -1150,7 +1150,7 @@ void run_menu_loop() } /* Start Ampli */ - system(SHELL_CMD_TURN_AMPLI_ON); + system(SHELL_CMD_AUDIO_AMP_ON); /// ------ Reset last screen ------ if(reset_last_scren_on_exit){ @@ -1182,7 +1182,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); @@ -1350,7 +1350,7 @@ int launch_resume_menu_loop() } /* Start Ampli */ - system(SHELL_CMD_TURN_AMPLI_ON); + system(SHELL_CMD_AUDIO_AMP_ON); return option_idx; } diff --git a/frontend/menu.h b/frontend/menu.h index 33b6047cb..0c1565486 100644 --- a/frontend/menu.h +++ b/frontend/menu.h @@ -70,8 +70,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"