diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 18e82032e..76a54628c 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -65,6 +65,7 @@ static int exec_info_cmd (int argc, char **argv) { static void register_info (void) { info_args.temp = arg_str1("t", "temp", "", "Diplays the chip temperature."); info_args.voltage = arg_str0("v", "voltage", "", "Displays voltage."); + info_args.current = arg_str0("c", "current", "", "Display current."); info_args.chip_temp = arg_lit0("T", "temperature", "print the chip temperature."); //info_args.temp = arg_litn("t", "temp", 0, 1, "chip temperature"); //info_args.detail = arg_str1(NULL, "gpio", "", "Diplays the GPIO level.");