mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
formatting changes
This commit is contained in:
@@ -272,10 +272,10 @@ void EMSESPShell::add_console_commands() {
|
||||
uint16_t type_id = Helpers::hextoint(arguments[1].c_str());
|
||||
EMSESP::set_read_id(type_id);
|
||||
if (arguments.size() == 3) {
|
||||
uint16_t offset = Helpers::hextoint(arguments.back().c_str());
|
||||
EMSESP::send_read_request(type_id, device_id, offset);
|
||||
uint16_t offset = Helpers::hextoint(arguments.back().c_str());
|
||||
EMSESP::send_read_request(type_id, device_id, offset);
|
||||
} else {
|
||||
EMSESP::send_read_request(type_id, device_id);
|
||||
EMSESP::send_read_request(type_id, device_id);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user