typo on panel condition

This commit is contained in:
giuliof 2019-02-22 12:35:16 +01:00
parent 0b72333630
commit 3b392b6354
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ void loop()
if (ReceivedCommand.d.cmd == 0b0)
{
// Parse command only if is same side as this panel (or comamnd says to override)
if ((ReceivedCommand.d.sideOverride || ReceivedCommand.d.side) == cfg.PanelSide)
if (ReceivedCommand.d.sideOverride || (ReceivedCommand.d.side == cfg.PanelSide))
{
CATPORT(MIDDIGIT_PORT) = segment[ReceivedCommand.d.mDigit];
CATPORT(RIGHTDIGIT_PORT) = segment[ReceivedCommand.d.rDigit];