Updated to version 1.3.6 for release on 2024-05-12 Mother's Day! (#635)

* Updated to version 1.3.6 for release on 2024-05-12 Mother's Day!
This commit is contained in:
Steve Karg
2024-05-12 09:06:23 -05:00
committed by GitHub
parent 06ff987b79
commit 3222244e4e
9 changed files with 84 additions and 14 deletions
-3
View File
@@ -1528,7 +1528,6 @@ bool Channel_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data)
BACNET_APPLICATION_DATA_VALUE value;
int element_len = 0;
uint32_t count = 0;
uint32_t array_index = 0;
/* decode the some of the request */
len = bacapp_decode_application_data(
@@ -1589,7 +1588,6 @@ bool Channel_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data)
wp_data->error_code = ERROR_CODE_WRITE_ACCESS_DENIED;
} else if (wp_data->array_index == BACNET_ARRAY_ALL) {
count = CONTROL_GROUPS_MAX;
array_index = 1;
/* extra elements still encoded in application data */
element_len = len;
do {
@@ -1611,7 +1609,6 @@ bool Channel_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data)
}
}
count--;
array_index++;
if (count) {
element_len = bacapp_decode_application_data(
&wp_data->application_data[len],
+1 -1
View File
@@ -361,7 +361,7 @@ bool Routed_Device_Is_Valid_Network(uint16_t dest_net, int *DNET_list)
uint32_t Routed_Device_Index_To_Instance(unsigned index)
{
index = index;
(void)index;
return Devices[iCurrent_Device_Idx].bacObj.Object_Instance_Number;
}