We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58f3a6 commit 96d5ac1Copy full SHA for 96d5ac1
prodScreen_magnetTest.c
@@ -2,7 +2,7 @@
2
#include <signal.h>
3
4
#define SHELL_CMD_PID_RECORD "pid record"
5
-#define SHELL_CMD_CANCEL_SCHED_POWERDOWN "cancel_sched_powerdown"
+#define SHELL_CMD_POWERDOWN_HANDLE "powerdown handle"
6
7
/* Static variable */
8
static int stop_menu_loop = 0;
@@ -13,7 +13,7 @@ void handle_sigusr1(int sig)
13
{
14
15
/* Send command to cancel any previously scheduled powerdown */
16
- if (popen(SHELL_CMD_CANCEL_SCHED_POWERDOWN, "r") == NULL)
+ if (popen(SHELL_CMD_POWERDOWN_HANDLE, "r") == NULL)
17
18
/* Countdown is still ticking, so better do nothing
19
than start writing and get interrupted!
0 commit comments