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
+2 -1
View File
@@ -110,11 +110,12 @@ uint8_t Send_Read_Property_Request_Address(
bytes_sent =
datalink_send_pdu(dest, &npdu_data,
&Handler_Transmit_Buffer[0], pdu_len);
if (bytes_sent <= 0) {
#if PRINT_ENABLED
if (bytes_sent <= 0)
fprintf(stderr, "Failed to Send ReadProperty Request (%s)!\n",
strerror(errno));
#endif
}
} else {
tsm_free_invoke_id(invoke_id);
invoke_id = 0;