mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-22 05:00:29 +08:00
length?
This commit is contained in:
parent
417f1b515d
commit
a1633f9323
1 changed files with 1 additions and 2 deletions
|
@ -3100,7 +3100,6 @@ int CmdHF14ANdefFormat(const char *Cmd) {
|
|||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
int CmdHF14ANdefWrite(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "hf 14a ndefwrite",
|
||||
|
@ -3180,7 +3179,7 @@ int CmdHF14ANdefWrite(const char *Cmd) {
|
|||
}
|
||||
uint8_t tmp_raw[256];
|
||||
memcpy(tmp_raw, raw, sizeof(tmp_raw));
|
||||
raw[0] = 0x03;
|
||||
raw[0] = 0x00;
|
||||
raw[1] = bytes;
|
||||
memcpy(raw + 2, tmp_raw, sizeof(raw) - 2);
|
||||
bytes += 2;
|
||||
|
|
Loading…
Add table
Reference in a new issue