Skip to content

Commit 96d5ac1

Browse files
committed
use single powerdown script
Signed-off-by: Michel-FK <[email protected]>
1 parent e58f3a6 commit 96d5ac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prodScreen_magnetTest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <signal.h>
33

44
#define SHELL_CMD_PID_RECORD "pid record"
5-
#define SHELL_CMD_CANCEL_SCHED_POWERDOWN "cancel_sched_powerdown"
5+
#define SHELL_CMD_POWERDOWN_HANDLE "powerdown handle"
66

77
/* Static variable */
88
static int stop_menu_loop = 0;
@@ -13,7 +13,7 @@ void handle_sigusr1(int sig)
1313
{
1414

1515
/* Send command to cancel any previously scheduled powerdown */
16-
if (popen(SHELL_CMD_CANCEL_SCHED_POWERDOWN, "r") == NULL)
16+
if (popen(SHELL_CMD_POWERDOWN_HANDLE, "r") == NULL)
1717
{
1818
/* Countdown is still ticking, so better do nothing
1919
than start writing and get interrupted!

0 commit comments

Comments
 (0)