indented.

This commit is contained in:
skarg
2006-03-23 15:46:15 +00:00
parent 7e18086c73
commit b429f94695
3 changed files with 15 additions and 11 deletions
+6 -2
View File
@@ -213,7 +213,9 @@ int Binary_Output_Encode_Property_APDU(uint8_t * apdu,
len = encode_tagged_null(&apdu[apdu_len]); len = encode_tagged_null(&apdu[apdu_len]);
else { else {
present_value = Binary_Output_Level[object_index][i]; 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 */ /* add it if we have room */
if ((apdu_len + len) < MAX_APDU) if ((apdu_len + len) < MAX_APDU)
@@ -235,7 +237,9 @@ int Binary_Output_Encode_Property_APDU(uint8_t * apdu,
else { else {
present_value = present_value =
Binary_Output_Level[object_index][array_index]; 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 { } else {
*error_class = ERROR_CLASS_PROPERTY; *error_class = ERROR_CLASS_PROPERTY;