mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 13:30:16 +00:00
ESP32-Console
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user