mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 09:00:13 +00:00
ESP32-Console
This commit is contained in:
@@ -1,4 +1,18 @@
|
|||||||
#ifndef COMMANDS_H
|
#ifndef COMMANDS_H
|
||||||
#define COMMANDS_H
|
#define COMMANDS_H
|
||||||
|
|
||||||
|
static int do_info_cmd (int argc, char **argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void register_info (void) {
|
||||||
|
const esp_console_cmd_t info_cmd = {
|
||||||
|
.command = "info",
|
||||||
|
.help = "System Information",
|
||||||
|
.hint = NULL,
|
||||||
|
.func = &do_info_cmd,
|
||||||
|
.argtable = &info_args
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
Reference in New Issue
Block a user