This commit is contained in:
2025-10-05 14:13:23 +03:00
parent 51f6d00ebb
commit daff1f6d24

View File

@@ -212,7 +212,7 @@ void zh_avr_pcf8574_event_handler(zh_avr_pcf8574_event_on_isr_t *event)
}
break;
case NUM1_BUTTON:
if ((used_channels & (1 << CHANNEL1)) == 0)
if ((used_channels & CHANNEL1) == 0)
{
break;
}
@@ -242,7 +242,7 @@ void zh_avr_pcf8574_event_handler(zh_avr_pcf8574_event_on_isr_t *event)
}
break;
case NUM2_BUTTON:
if ((used_channels & (1 << CHANNEL2)) == 0)
if ((used_channels & CHANNEL2) == 0)
{
break;
}
@@ -260,7 +260,7 @@ void zh_avr_pcf8574_event_handler(zh_avr_pcf8574_event_on_isr_t *event)
}
break;
case NUM3_BUTTON:
if ((used_channels & (1 << CHANNEL3)) == 0)
if ((used_channels & CHANNEL3) == 0)
{
break;
}
@@ -278,7 +278,7 @@ void zh_avr_pcf8574_event_handler(zh_avr_pcf8574_event_on_isr_t *event)
}
break;
case NUM4_BUTTON:
if ((used_channels & (1 << CHANNEL4)) == 0)
if ((used_channels & CHANNEL4) == 0)
{
break;
}