mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
refactoring
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
class ESPUtils {
|
||||
public:
|
||||
static String defaultDeviceValue(String prefix = "") {
|
||||
return prefix + String((uint32_t)ESP.getEfuseMac(), HEX);
|
||||
static String defaultDeviceValue(const String & prefix = "") {
|
||||
return prefix + String(static_cast<uint32_t>(ESP.getEfuseMac()), HEX);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user