mirror of
https://github.com/wled/WLED.git
synced 2025-11-09 11:09:10 +00:00
Added UDP sync groups.
This commit is contained in:
@@ -397,6 +397,13 @@ void getSettingsJS(byte subPage, char* dest)
|
||||
sappend('v',SET_F("UP"),udpPort);
|
||||
sappend('v',SET_F("U2"),udpPort2);
|
||||
|
||||
char k[3]; k[2] = 0;
|
||||
for (int i = 0; i<8; i++)
|
||||
{
|
||||
k[1] = 49+i; //ascii 1,2,3,...
|
||||
k[0] = 'G'; sappend('c',k,(syncGroups>>i)&0x01);
|
||||
k[0] = 'R'; sappend('c',k,(receiveGroups>>i)&0x01);
|
||||
}
|
||||
sappend('c',SET_F("HX"),liveHSVCorrection);
|
||||
sappend('v',SET_F("HS"),liveHSVSaturation);
|
||||
sappend('v',SET_F("HV"),liveHSVValue);
|
||||
|
||||
Reference in New Issue
Block a user