diff --git a/src/command.cpp b/src/command.cpp index 03456ca95..cfd886304 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -189,11 +189,7 @@ void Command::add(const uint8_t device_type, const __FlashStringHelper * cmd, cm // add a command to the list, which does return a json object as output // flag is fixed to MqttSubFlag::FLAG_NOSUB -void Command::add_json(const uint8_t device_type, - const __FlashStringHelper * cmd, - cmdfunction_json_p cb, - const __FlashStringHelper * description, - uint8_t flags) { +void Command::add_json(const uint8_t device_type, const __FlashStringHelper * cmd, cmdfunction_json_p cb, const __FlashStringHelper * description, uint8_t flags) { // if the command already exists for that device type don't add it if (find_command(device_type, uuid::read_flash_string(cmd).c_str()) != nullptr) { return; diff --git a/src/command.h b/src/command.h index e7df2e672..bbc27a9fb 100644 --- a/src/command.h +++ b/src/command.h @@ -110,10 +110,10 @@ class Command { uint8_t flags = CommandFlag::MQTT_SUB_FLAG_NORMAL); static void add_json(const uint8_t device_type, - const __FlashStringHelper * cmd, - cmdfunction_json_p cb, - const __FlashStringHelper * description, - uint8_t flags = CommandFlag::MQTT_SUB_FLAG_NORMAL); + const __FlashStringHelper * cmd, + cmdfunction_json_p cb, + const __FlashStringHelper * description, + uint8_t flags = CommandFlag::MQTT_SUB_FLAG_NORMAL); static void show_all(uuid::console::Shell & shell); static Command::CmdFunction * find_command(const uint8_t device_type, const char * cmd);