From b429f946956a50b9c85e036423ad9543f9231567 Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 23 Mar 2006 15:46:15 +0000 Subject: [PATCH] indented. --- bacnet-stack/bacenum.h | 6 +++--- bacnet-stack/demo/object/ao.c | 4 ++-- bacnet-stack/demo/object/bo.c | 16 ++++++++++------ 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bacnet-stack/bacenum.h b/bacnet-stack/bacenum.h index 5e56a2b7..9c3a38c4 100644 --- a/bacnet-stack/bacenum.h +++ b/bacnet-stack/bacenum.h @@ -245,11 +245,11 @@ typedef enum { } BACNET_ACTION; typedef enum { - MIN_BINARY_PV = 0, /* for validating incoming values */ + MIN_BINARY_PV = 0, /* for validating incoming values */ BINARY_INACTIVE = 0, BINARY_ACTIVE = 1, - MAX_BINARY_PV = 1, /* for validating incoming values */ - BINARY_NULL = 2 /* our homemade way of storing this info */ + MAX_BINARY_PV = 1, /* for validating incoming values */ + BINARY_NULL = 2 /* our homemade way of storing this info */ } BACNET_BINARY_PV; typedef enum { diff --git a/bacnet-stack/demo/object/ao.c b/bacnet-stack/demo/object/ao.c index 1e93d828..322bc90d 100644 --- a/bacnet-stack/demo/object/ao.c +++ b/bacnet-stack/demo/object/ao.c @@ -287,8 +287,8 @@ bool Analog_Output_Write_Property(BACNET_WRITE_PROPERTY_DATA * wp_data, if (wp_data->value.tag == BACNET_APPLICATION_TAG_REAL) { priority = wp_data->priority; /* Command priority 6 is reserved for use by Minimum On/Off - algorithm and may not be used for other purposes in any - object. */ + algorithm and may not be used for other purposes in any + object. */ if (priority && (priority <= BACNET_MAX_PRIORITY) && (priority != 6 /* reserved */ ) && (wp_data->value.type.Real >= 0.0) && diff --git a/bacnet-stack/demo/object/bo.c b/bacnet-stack/demo/object/bo.c index 01ee4d35..77f7edbc 100644 --- a/bacnet-stack/demo/object/bo.c +++ b/bacnet-stack/demo/object/bo.c @@ -160,8 +160,8 @@ int Binary_Output_Encode_Property_APDU(uint8_t * apdu, apdu_len = encode_tagged_object_id(&apdu[0], OBJECT_BINARY_OUTPUT, object_instance); break; - /* note: Name and Description don't have to be the same. - You could make Description writable and different */ + /* note: Name and Description don't have to be the same. + You could make Description writable and different */ case PROP_OBJECT_NAME: case PROP_DESCRIPTION: characterstring_init_ansi(&char_string, @@ -213,7 +213,9 @@ int Binary_Output_Encode_Property_APDU(uint8_t * apdu, len = encode_tagged_null(&apdu[apdu_len]); else { present_value = Binary_Output_Level[object_index][i]; - len = encode_tagged_enumerated(&apdu[apdu_len], present_value); + len = + encode_tagged_enumerated(&apdu[apdu_len], + present_value); } /* add it if we have room */ if ((apdu_len + len) < MAX_APDU) @@ -235,7 +237,9 @@ int Binary_Output_Encode_Property_APDU(uint8_t * apdu, else { present_value = Binary_Output_Level[object_index][array_index]; - len = encode_tagged_enumerated(&apdu[apdu_len], present_value); + len = + encode_tagged_enumerated(&apdu[apdu_len], + present_value); } } else { *error_class = ERROR_CLASS_PROPERTY; @@ -280,8 +284,8 @@ bool Binary_Output_Write_Property(BACNET_WRITE_PROPERTY_DATA * wp_data, if (wp_data->value.tag == BACNET_APPLICATION_TAG_ENUMERATED) { priority = wp_data->priority; /* Command priority 6 is reserved for use by Minimum On/Off - algorithm and may not be used for other purposes in any - object. */ + algorithm and may not be used for other purposes in any + object. */ if (priority && (priority <= BACNET_MAX_PRIORITY) && (priority != 6 /* reserved */ ) && (wp_data->value.type.Enumerated >= MIN_BINARY_PV) &&