systemcmds:Use CONFIG_BOARD_ROOT_PATH instead of string constant

This commit is contained in:
David Sidrane
2024-07-24 11:39:44 -04:00
committed by Daniel Agar
parent 54b20f1ff3
commit ab82c24e3e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1289,7 +1289,7 @@ static void print_usage(void)
"Hardfault type: 0=divide by 0, 1=Assertion, 2=jump to 0x0, 3=write to 0x0 (default=0)", true);
PRINT_MODULE_USAGE_COMMAND_DESCR("commit",
"Write uncommitted hardfault to /fs/microsd/fault_%i.txt (and rearm, but don't reset)");
"Write uncommitted hardfault to " CONFIG_BOARD_ROOT_PATH "/fault_%i.txt (and rearm, but don't reset)");
PRINT_MODULE_USAGE_COMMAND_DESCR("count",
"Read the reboot counter, counts the number of reboots of an uncommitted hardfault (returned as the exit code of the program)");
PRINT_MODULE_USAGE_COMMAND_DESCR("reset", "Reset the reboot counter");