mirror of
https://github.com/wled/WLED.git
synced 2025-07-09 11:56:35 +00:00
Fix audio sync check
This commit is contained in:
parent
e9f6509cb0
commit
f7652bd2ef
@ -911,7 +911,7 @@ class AudioReactive : public Usermod {
|
|||||||
*/
|
*/
|
||||||
void connected()
|
void connected()
|
||||||
{
|
{
|
||||||
if (audioSyncPort > 0 || (audioSyncEnabled & 0x03)) {
|
if (audioSyncPort > 0 && (audioSyncEnabled & 0x03)) {
|
||||||
#ifndef ESP8266
|
#ifndef ESP8266
|
||||||
udpSyncConnected = fftUdp.beginMulticast(IPAddress(239, 0, 0, 1), audioSyncPort);
|
udpSyncConnected = fftUdp.beginMulticast(IPAddress(239, 0, 0, 1), audioSyncPort);
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user