fixed parsing pace output data
This commit is contained in:
parent
92ad6eb63c
commit
3a557ad0dd
|
@ -1797,7 +1797,7 @@ static int transform_pace_output(u8 *rbuf, size_t rbuflen,
|
||||||
if (parsed+2 > rbuflen)
|
if (parsed+2 > rbuflen)
|
||||||
return SC_ERROR_UNKNOWN_DATA_RECEIVED;
|
return SC_ERROR_UNKNOWN_DATA_RECEIVED;
|
||||||
pace_output->mse_set_at_sw1 = rbuf[parsed+0];
|
pace_output->mse_set_at_sw1 = rbuf[parsed+0];
|
||||||
pace_output->mse_set_at_sw1 = rbuf[parsed+1];
|
pace_output->mse_set_at_sw2 = rbuf[parsed+1];
|
||||||
parsed += 2;
|
parsed += 2;
|
||||||
|
|
||||||
/* length_CardAccess */
|
/* length_CardAccess */
|
||||||
|
|
Loading…
Reference in New Issue