Fixed the basic multi-state output priority-array datatype encoding. (#932)
This commit is contained in:
@@ -289,7 +289,7 @@ static int Multistate_Output_Priority_Array_Encode(
|
|||||||
apdu_len = encode_application_null(apdu);
|
apdu_len = encode_application_null(apdu);
|
||||||
} else {
|
} else {
|
||||||
value = pObject->Priority_Array[priority];
|
value = pObject->Priority_Array[priority];
|
||||||
apdu_len = encode_application_enumerated(apdu, value);
|
apdu_len = encode_application_unsigned(apdu, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user