Skip to content

Commit 3bcbcfa

Browse files
committed
Fixed multicast init issue
1 parent a65294b commit 3bcbcfa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ESPixelStick.ino

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,6 @@ void setup() {
174174
// Configure and start the web server
175175
initWeb();
176176

177-
// Setup E1.31
178-
if (config.multicast)
179-
e131.begin(E131_MULTICAST, config.universe,
180-
uniLast - config.universe + 1);
181-
else
182-
e131.begin(E131_UNICAST);
183-
184177
// Configure the outputs
185178
#if defined (ESPS_MODE_PIXEL)
186179
pixels.setPin(DATA_PIN);
@@ -189,6 +182,13 @@ void setup() {
189182
#else
190183
updateConfig();
191184
#endif
185+
186+
// Setup E1.31
187+
if (config.multicast)
188+
e131.begin(E131_MULTICAST, config.universe,
189+
uniLast - config.universe + 1);
190+
else
191+
e131.begin(E131_UNICAST);
192192
}
193193

194194
/////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)