notify() bugfix

This commit is contained in:
Blaz Kristan 2023-10-08 22:44:30 +02:00
parent 3b74cd5676
commit 347ec91bfc

View File

@ -20,7 +20,7 @@ typedef struct PartialEspNowPacket {
void notify(byte callMode, bool followUp)
{
#ifndef WLED_DISABLE_ESPNOW
if (!udpConnected || !useESPNowSync) return;
if (!udpConnected && !useESPNowSync) return;
#else
if (!udpConnected) return;
#endif