Fixed ports for Atmega8, Atmega168, and Xmega to compile.

This commit is contained in:
skarg
2016-10-25 13:42:13 +00:00
parent b2938bb68a
commit c7147f3805
7 changed files with 284 additions and 68 deletions
+1 -1
View File
@@ -1283,7 +1283,7 @@ int dlmstp_send_pdu(BACNET_ADDRESS * dest, /* destination address */
} else {
pkt->destination_mac = dest->mac[0];
}
if (Ringbuf_Data_Put(&PDU_Queue, pkt)) {
if (Ringbuf_Data_Put(&PDU_Queue, (volatile uint8_t *)pkt)) {
bytes_sent = pdu_len;
}
}