| 465 | setBrightness(bright, false); |
| 466 | } |
| 467 | String get_efuse_mac_as_string() { |
| 468 | uint8_t mac[6] = {0}; |
| 469 | String str = ""; |
| 470 | esp_efuse_mac_get_default(mac); |
| 471 | for (int i = 0; i < 6; i++) { |
| 472 | if (i > 0) str += ":"; |
| 473 | str += String(mac[i], 16); |
| 474 | } |
| 475 | return str; |
| 476 | } |
| 477 | bool config_exists() { |
| 478 | if (!SDM.exists(CONFIG_FILE)) { |
| 479 | File conf = SDM.open(CONFIG_FILE, FILE_WRITE, true); |
no outgoing calls
no test coverage detected