Corrected compiler error.

This commit is contained in:
skarg
2010-02-19 14:49:35 +00:00
parent d98194636c
commit 8deecad15b
+2 -2
View File
@@ -58,7 +58,7 @@ void handler_who_is(
whois_decode_service_request(service_request, service_len, &low_limit, whois_decode_service_request(service_request, service_len, &low_limit,
&high_limit); &high_limit);
if (len == 0) if (len == 0)
Send_I_Am(&Handler_Transmit_Buffer[0], src); Send_I_Am(&Handler_Transmit_Buffer[0]);
else if (len != -1) { else if (len != -1) {
/* is my device id within the limits? */ /* is my device id within the limits? */
if (((Device_Object_Instance_Number() >= (uint32_t) low_limit) && if (((Device_Object_Instance_Number() >= (uint32_t) low_limit) &&
@@ -67,7 +67,7 @@ void handler_who_is(
/* BACnet wildcard is the max instance number - everyone responds */ /* BACnet wildcard is the max instance number - everyone responds */
((BACNET_MAX_INSTANCE >= (uint32_t) low_limit) && ((BACNET_MAX_INSTANCE >= (uint32_t) low_limit) &&
(BACNET_MAX_INSTANCE <= (uint32_t) high_limit))) (BACNET_MAX_INSTANCE <= (uint32_t) high_limit)))
Send_I_Am(&Handler_Transmit_Buffer[0], src); Send_I_Am(&Handler_Transmit_Buffer[0]);
} }
return; return;