Corrected property application type encoding [bugs:#26] in multi-state output object. Thank you, Miroslav!

This commit is contained in:
skarg
2013-09-15 23:27:29 +00:00
parent 252ffd934c
commit 73a8d08269
+1 -1
View File
@@ -342,7 +342,7 @@ int Multistate_Output_Read_Property(
break;
case PROP_RELINQUISH_DEFAULT:
present_value = MULTISTATE_RELINQUISH_DEFAULT;
apdu_len = encode_application_enumerated(&apdu[0], present_value);
apdu_len = encode_application_unsigned(&apdu[0], present_value);
break;
case PROP_NUMBER_OF_STATES:
apdu_len =