mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 16:40:17 +00:00
ESP32-Console
This commit is contained in:
@@ -74,11 +74,11 @@ static void register_info (void) {
|
|||||||
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 = "Prints system information",
|
.help = "Prints system information",
|
||||||
.hint = NULL,
|
.hint = NULL,
|
||||||
.func = &exec_info_cmd,
|
.func = &exec_info_cmd,
|
||||||
.argtable = &info_args
|
.argtable = &info_args
|
||||||
};
|
};
|
||||||
|
|
||||||
ESP_ERROR_CHECK(esp_console_cmd_register(&info_cmd));
|
ESP_ERROR_CHECK(esp_console_cmd_register(&info_cmd));
|
||||||
|
Reference in New Issue
Block a user