mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 01:24:23 +00:00
26 lines
517 B
C
26 lines
517 B
C
#ifndef COMMANDS_H
|
|
#define COMMANDS_H
|
|
|
|
static struct {
|
|
struct arg_int *detail;
|
|
struct arg_int *chip_temp;
|
|
struct arg_int *voltage;
|
|
} info_args;
|
|
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
|
|
};
|
|
}
|
|
|
|
void register_commands (void) {
|
|
register_info();
|
|
}
|
|
|
|
#endif |