indented using indent tool.
This commit is contained in:
@@ -768,8 +768,8 @@ void testDevice(Test * pTest)
|
|||||||
/* stubs to dependencies to keep unit test simple */
|
/* stubs to dependencies to keep unit test simple */
|
||||||
char *Analog_Input_Name(uint32_t object_instance)
|
char *Analog_Input_Name(uint32_t object_instance)
|
||||||
{
|
{
|
||||||
(void)object_instance;
|
(void) object_instance;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned Analog_Input_Count(void)
|
unsigned Analog_Input_Count(void)
|
||||||
@@ -784,8 +784,8 @@ uint32_t Analog_Input_Index_To_Instance(unsigned index)
|
|||||||
|
|
||||||
char *Analog_Output_Name(uint32_t object_instance)
|
char *Analog_Output_Name(uint32_t object_instance)
|
||||||
{
|
{
|
||||||
(void)object_instance;
|
(void) object_instance;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned Analog_Output_Count(void)
|
unsigned Analog_Output_Count(void)
|
||||||
|
|||||||
+2
-2
@@ -200,8 +200,8 @@ int rp_ack_decode_service_request(uint8_t * apdu, int apdu_len, /* total length
|
|||||||
data->array_index = array_value;
|
data->array_index = array_value;
|
||||||
} else
|
} else
|
||||||
data->array_index = BACNET_ARRAY_ALL;
|
data->array_index = BACNET_ARRAY_ALL;
|
||||||
/* Tag 3: opening context tag */
|
/* Tag 3: opening context tag */
|
||||||
if (decode_is_opening_tag_number(&apdu[len], 3)) {
|
if (decode_is_opening_tag_number(&apdu[len], 3)) {
|
||||||
/* a tag number of 3 is not extended so only one octet */
|
/* a tag number of 3 is not extended so only one octet */
|
||||||
len++;
|
len++;
|
||||||
/* don't decode the application tag number or its data here */
|
/* don't decode the application tag number or its data here */
|
||||||
|
|||||||
+2
-2
@@ -112,8 +112,8 @@ int wp_decode_service_request(uint8_t * apdu,
|
|||||||
data->array_index = unsigned_value;
|
data->array_index = unsigned_value;
|
||||||
} else
|
} else
|
||||||
data->array_index = BACNET_ARRAY_ALL;
|
data->array_index = BACNET_ARRAY_ALL;
|
||||||
/* Tag 3: opening context tag */
|
/* Tag 3: opening context tag */
|
||||||
if (!decode_is_opening_tag_number(&apdu[len], 3))
|
if (!decode_is_opening_tag_number(&apdu[len], 3))
|
||||||
return -1;
|
return -1;
|
||||||
/* a tag number of 3 is not extended so only one octet */
|
/* a tag number of 3 is not extended so only one octet */
|
||||||
len++;
|
len++;
|
||||||
|
|||||||
Reference in New Issue
Block a user