Cosmetic changes.

This commit is contained in:
k001a
2011-08-15 10:20:28 +00:00
parent 7ccbb406b4
commit b3a8eff164
+5 -4
View File
@@ -394,7 +394,8 @@ bool Notification_Class_Write_Property(
CurrentNotify = &NC_Info[Notification_Class_Instance_To_Index(wp_data->object_instance)]; CurrentNotify = &NC_Info[Notification_Class_Instance_To_Index(wp_data->object_instance)];
/* decode the some of the request /* decode the some of the request
*/
len = bacapp_decode_application_data(wp_data->application_data, len = bacapp_decode_application_data(wp_data->application_data,
wp_data->application_data_len, &value); wp_data->application_data_len, &value);
@@ -411,7 +412,7 @@ bool Notification_Class_Write_Property(
wp_data->error_code = ERROR_CODE_INVALID_ARRAY_INDEX; wp_data->error_code = ERROR_CODE_INVALID_ARRAY_INDEX;
} }
else if (wp_data->array_index == BACNET_ARRAY_ALL) { else if (wp_data->array_index == BACNET_ARRAY_ALL) {
else if (wp_data->array_index == BACNET_ARRAY_ALL) { /* FIXME: wite all array */
} }
else if (wp_data->array_index <= 3) { else if (wp_data->array_index <= 3) {
CurrentNotify->Priority[wp_data->array_index - 1] = CurrentNotify->Priority[wp_data->array_index - 1] =
@@ -665,8 +666,8 @@ bool Notification_Class_Write_Property(
} }
else if (CurrentNotify->Recipient_List[idx].Recipient.RecipientType == RECIPIENT_TYPE_ADDRESS) { else if (CurrentNotify->Recipient_List[idx].Recipient.RecipientType == RECIPIENT_TYPE_ADDRESS) {
/* copy Address */ /* copy Address */
else if (CurrentNotify->Recipient_List[idx].Recipient.RecipientType == RECIPIENT_TYPE_ADDRESS) { /* src = CurrentNotify->Recipient_List[idx].Recipient._.Address; */
/* copy Address */ /* address_bind_request(BACNET_MAX_INSTANCE, &max_apdu, &src); */
} }
} }