refactoring

This commit is contained in:
Proddy
2024-02-12 14:21:30 +01:00
parent ed5f0bc6d5
commit 80a3007f8b
56 changed files with 555 additions and 516 deletions

View File

@@ -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);
}
};