Fixed group mask logic for WLED Sync fix (#6193)

This commit is contained in:
ChuckMash authored and GitHub committed 2024-02-12 11:55:06 +13:00
1 parent 71b3a14a29
commit 061d5b4979
1 file changed
+1 -1
@@ -164,7 +164,7 @@ bool WLEDLightEffect::parse_notifier_frame_(light::AddressableLight &it, const u
uint8_t payload_sync_group_mask = payload[34];
if ((payload_sync_group_mask & this->sync_group_mask_) != this->sync_group_mask_) {
if (this->sync_group_mask_ && !(payload_sync_group_mask & this->sync_group_mask_)) {
ESP_LOGD(TAG, "sync group mask does not match");
return false;
}