mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting
This commit is contained in:
@@ -101,6 +101,7 @@ void Command::show(uuid::console::Shell & shell, uint8_t device_type) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// see if a device_type is active and has associated commands
|
// see if a device_type is active and has associated commands
|
||||||
|
// returns false if the device has no commands
|
||||||
bool Command::device_has_commands(const uint8_t device_type) {
|
bool Command::device_has_commands(const uint8_t device_type) {
|
||||||
if (device_type == EMSdevice::DeviceType::UNKNOWN) {
|
if (device_type == EMSdevice::DeviceType::UNKNOWN) {
|
||||||
return false;
|
return false;
|
||||||
@@ -124,6 +125,7 @@ bool Command::device_has_commands(const uint8_t device_type) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user