mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 11:10:16 +00:00
ESP32-Console
This commit is contained in:
@@ -67,10 +67,10 @@ static int exec_info_cmd (int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
||||
static void register_info (void) {
|
||||
info_args.temp = arg_str0("t", "temp", "<C|F>", "Diplays the chip temperature.");
|
||||
info_args.voltage = arg_str0("v", "voltage", "<V|mV>", "Displays the voltage.");
|
||||
info_args.current = arg_str0("c", "current", "<A|mA>", "Displays the current.");
|
||||
info_args.chip_temp = arg_lit0("T", "temperature", "print the chip temperature.");
|
||||
info_args.temp = arg_str0("t", "temp", "<C|F>", "Diplays the chip temperature.");
|
||||
info_args.voltage = arg_str0("v", "voltage", "<V|mV>", "Displays the voltage.");
|
||||
info_args.current = arg_str0("c", "current", "<A|mA>", "Displays the current.");
|
||||
info_args.chip_temp = arg_lit0("T", "temperature", "Prints the chip temperature.");
|
||||
info_args.end = arg_end(2);
|
||||
|
||||
const esp_console_cmd_t info_cmd = {
|
||||
|
Reference in New Issue
Block a user