ESP32-Console

This commit is contained in:
2025-01-11 10:24:17 -05:00
parent 26b48de49d
commit ab8d87b5be

View File

@@ -29,12 +29,12 @@ static int do_info_cmd (int argc, char **argv) {
return 0; return 0;
} }
static void register_info (void) { static void register_info (void) {
info_args.detail = arg_str1(NULL, NULL, "<temp>", "Chip temperature"); info_args.detail = arg_str1(NULL, NULL, "<temp>", "Display chip temperature");
info_args.end = arg_end(2); info_args.end = arg_end(2);
const esp_console_cmd_t info_cmd = { const esp_console_cmd_t info_cmd = {
.command = "info", .command = "info",
.help = "System Information", .help = "Prints system information",
.hint = NULL, .hint = NULL,
.func = &do_info_cmd, .func = &do_info_cmd,
.argtable = &info_args .argtable = &info_args