Skip to content

Commit

Permalink
Fixed door status flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
morcibacsi committed Jan 9, 2021
1 parent eff0aa4 commit d201d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Van/Handlers/VanDisplayHandlerV2.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class VanDisplayHandlerV2 : public AbstractVanMessageHandler {
currentTime = millis();

const VanDisplayPacketV2 packet = DeSerialize<VanDisplayPacketV2>(vanMessageWithoutId);
if (packet.data.Message != 0xFF)
if (packet.data.Message != VAN_POPUP_MSG_NONE && packet.data.Message != VAN_POPUP_MSG_DOOR_OPEN)
{
CanDisplayPopupItem item;
item.Category = popupMapping->GetCanCategoryFromVanMessage(packet.data.Message);
Expand Down

0 comments on commit d201d27

Please sign in to comment.