mirror of
https://github.com/wled/WLED.git
synced 2025-11-08 10:38:52 +00:00
whitespace cleanup
This commit is contained in:
@@ -92,7 +92,7 @@ void URL_response(AsyncWebServerRequest *request)
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
sprintf(s,"%02X", col[i]);
|
||||
oappend(s);
|
||||
oappend(s);
|
||||
}
|
||||
oappend(SET_F("&C2=h"));
|
||||
for (int i = 0; i < 3; i++)
|
||||
@@ -115,7 +115,7 @@ void URL_response(AsyncWebServerRequest *request)
|
||||
oappend(SET_F("<html><body><a href=\""));
|
||||
oappend(s2buf);
|
||||
oappend(SET_F("\" target=\"_blank\">"));
|
||||
oappend(s2buf);
|
||||
oappend(s2buf);
|
||||
oappend(SET_F("</a></body></html>"));
|
||||
|
||||
if (request != nullptr) request->send(200, "text/html", obuf);
|
||||
@@ -566,7 +566,7 @@ void getSettingsJS(byte subPage, char* dest)
|
||||
case HUE_ERROR_TIMEOUT : strcpy_P(hueErrorString,PSTR("Timeout")); break;
|
||||
default: sprintf_P(hueErrorString,PSTR("Bridge Error %i"),hueError);
|
||||
}
|
||||
|
||||
|
||||
sappends('m',SET_F("(\"sip\")[0]"),hueErrorString);
|
||||
#else
|
||||
oappend(SET_F("toggle('Hue');")); // hide Hue Sync settings
|
||||
@@ -658,17 +658,17 @@ void getSettingsJS(byte subPage, char* dest)
|
||||
oappend(serverDescription);
|
||||
oappend(SET_F("\";"));
|
||||
}
|
||||
|
||||
|
||||
#ifdef WLED_ENABLE_DMX // include only if DMX is enabled
|
||||
if (subPage == 7)
|
||||
{
|
||||
sappend('v',SET_F("PU"),e131ProxyUniverse);
|
||||
|
||||
|
||||
sappend('v',SET_F("CN"),DMXChannels);
|
||||
sappend('v',SET_F("CG"),DMXGap);
|
||||
sappend('v',SET_F("CS"),DMXStart);
|
||||
sappend('v',SET_F("SL"),DMXStartLED);
|
||||
|
||||
|
||||
sappend('i',SET_F("CH1"),DMXFixtureMap[0]);
|
||||
sappend('i',SET_F("CH2"),DMXFixtureMap[1]);
|
||||
sappend('i',SET_F("CH3"),DMXFixtureMap[2]);
|
||||
|
||||
Reference in New Issue
Block a user