change for new pid script

Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
Vincent-FK 2021-05-15 23:44:50 +02:00
parent 77ccbc26de
commit bc9195fb06
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ bool Launcher::run(std::string collection, Item *collectionItem)
/* Restore stored PID */
char shellCmd[20];
sprintf(shellCmd, "%s %d", SHELL_CMD_RECORD_PID, getpid());
sprintf(shellCmd, "%s %d", SHELL_CMD_PID_RECORD, getpid());
Utils::executeRawPath((const char*)shellCmd);
/* Clean VT */

View File

@ -22,7 +22,7 @@
#define SHELL_CMD_ROOTFS_RW "rw"
#define SHELL_CMD_ROOTFS_RO "ro"
#define SHELL_CMD_RECORD_PID "record_pid"
#define SHELL_CMD_PID_RECORD "pid record"
#define SHELL_CMD_AUDIO_AMP_ON "audio_amp on"
#define SHELL_CMD_AUDIO_AMP_OFF "audio_amp off"
#define SHELL_CMD_MAPPING_ROM "keymap rom"