mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
minor formatting
This commit is contained in:
@@ -114,7 +114,7 @@ std::string EMSdevice::device_type_2_device_name(const uint8_t device_type) {
|
||||
// returns device_type from a string
|
||||
uint8_t EMSdevice::device_name_2_device_type(const char * topic) {
|
||||
if (!topic) {
|
||||
return DeviceType::UNKNOWN; // nullptr
|
||||
return DeviceType::UNKNOWN;
|
||||
}
|
||||
|
||||
// convert topic to lowercase and compare
|
||||
|
||||
Reference in New Issue
Block a user