mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 00:06:13 +08:00
create files iso file id byte order fix
This commit is contained in:
parent
674568dfd9
commit
bac1cfb5b5
|
@ -3344,8 +3344,7 @@ static int DesfireCreateFileParameters(
|
||||||
*datalen = 1;
|
*datalen = 1;
|
||||||
|
|
||||||
if (isofileid > 0) {
|
if (isofileid > 0) {
|
||||||
data[1] = (isofileid >> 8) & 0xff;
|
Uint2byteToMemLe(&data[1], isofileid);
|
||||||
data[2] = isofileid & 0xff;
|
|
||||||
*datalen += 2;
|
*datalen += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue