Skip to content

Commit

Permalink
only call isSentToTunnel when KNX_TUNNELING is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Ing-Dom committed Feb 13, 2024
1 parent fad4d8a commit 26aed75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/knx/bau091A.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ TPAckType Bau091A::isAckRequired(uint16_t address, bool isGrpAddr)
else
// all are ACKED
ack = TPAckType::AckReqAck;

#ifdef KNX_TUNNELING
if(_dlLayerPrimary.isSentToTunnel(address, isGrpAddr))
ack = TPAckType::AckReqAck;
#endif
}
else
{
Expand Down

0 comments on commit 26aed75

Please sign in to comment.