mirror of
https://github.com/thelsing/knx.git
synced 2025-08-31 13:47:01 +02:00
Remove unclean solution to suppress warning about unsed var
This commit is contained in:
parent
013104aad9
commit
ad4b719398
@ -46,7 +46,6 @@ void DataLinkLayer::broadcastRequest(AckType ack, FrameFormat format, Priority p
|
|||||||
// System Broadcast requests will always be transmitted as broadcast with KNX serial number for open media (e.g. RF medium)
|
// System Broadcast requests will always be transmitted as broadcast with KNX serial number for open media (e.g. RF medium)
|
||||||
// See 3.2.5 p.22
|
// See 3.2.5 p.22
|
||||||
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
||||||
(void)broadcastType; // not used on TP/IP, always normal broadcast
|
|
||||||
sendTelegram(npdu, ack, 0, GroupAddress, format, priority, Broadcast);
|
sendTelegram(npdu, ack, 0, GroupAddress, format, priority, Broadcast);
|
||||||
#else
|
#else
|
||||||
sendTelegram(npdu, ack, 0, GroupAddress, format, priority, broadcastType);
|
sendTelegram(npdu, ack, 0, GroupAddress, format, priority, broadcastType);
|
||||||
|
Loading…
Reference in New Issue
Block a user