mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 22:24:23 +00:00
ESP32-Console
This commit is contained in:
@@ -121,6 +121,13 @@ static void register_info (void) {
|
|||||||
ESP_ERROR_CHECK(esp_console_cmd_register(&info_cmd));
|
ESP_ERROR_CHECK(esp_console_cmd_register(&info_cmd));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static struct {
|
||||||
|
struct arg_str *temp;
|
||||||
|
struct arg_int *chip_temp;
|
||||||
|
struct arg_str *voltage;
|
||||||
|
struct arg_str *current;
|
||||||
|
struct arg_end *end;
|
||||||
|
} info_args;
|
||||||
static void register_gpio (void) {
|
static void register_gpio (void) {
|
||||||
const esp_console_cmd_t info_cmd = {
|
const esp_console_cmd_t info_cmd = {
|
||||||
.command = "GPIO",
|
.command = "GPIO",
|
||||||
|
Reference in New Issue
Block a user