indented.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user