mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
FIX: mental note to self, don't code when tried. "size" should have been "sizeof". I need to fix my build for armsrc again.
This commit is contained in:
parent
80920fac96
commit
c23d2618ba
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ void SimulateIso14443bTag(uint32_t pupi) {
|
||||||
|
|
||||||
// ...PUPI/UID supplied from user. Adjust ATQB response accordingly
|
// ...PUPI/UID supplied from user. Adjust ATQB response accordingly
|
||||||
if ( pupi > 0 ) {
|
if ( pupi > 0 ) {
|
||||||
uint8_t len = size(respATQB);
|
uint8_t len = sizeof(respATQB);
|
||||||
num_to_bytes(pupi, 4, respATQB+1);
|
num_to_bytes(pupi, 4, respATQB+1);
|
||||||
ComputeCrc14443(CRC_14443_B, respATQB, 12, &respATQB[len-2], &respATQB[len-1]);
|
ComputeCrc14443(CRC_14443_B, respATQB, 12, &respATQB[len-2], &respATQB[len-1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue