Multiupdate

- allow DMX for S2 & C3 (ESPDMX, needs testing)
- (debug) string cleanup & optimisation
- WLED_BRAND for AP SSID
This commit is contained in:
Blaz Kristan
2024-02-09 22:15:29 +01:00
parent 0150c3fe23
commit 276a93605d
26 changed files with 167 additions and 166 deletions

View File

@@ -173,7 +173,7 @@ bool oappend(const char* txt)
void prepareHostname(char* hostname)
{
sprintf_P(hostname, "wled-%*s", 6, escapedMac.c_str() + 6);
sprintf_P(hostname, PSTR("wled-%*s"), 6, escapedMac.c_str() + 6);
const char *pC = serverDescription;
uint8_t pos = 5; // keep "wled-"
while (*pC && pos < 24) { // while !null and not over length