create files iso file id byte order fix

This commit is contained in:
merlokk 2021-08-19 17:17:32 +03:00
parent 674568dfd9
commit bac1cfb5b5

View file

@ -3344,8 +3344,7 @@ static int DesfireCreateFileParameters(
*datalen = 1;
if (isofileid > 0) {
data[1] = (isofileid >> 8) & 0xff;
data[2] = isofileid & 0xff;
Uint2byteToMemLe(&data[1], isofileid);
*datalen += 2;
}