mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-15 01:33:00 -07:00
PCF-fix bytepos range from 0-3 to 0-15
This commit is contained in:
parent
f4eadf8a50
commit
59b5b7e14c
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ int CmdLFPCF7931Write(const char *Cmd){
|
|||
if ( param_getdec(Cmd, 0, &block) ) return usage_pcf7931_write();
|
||||
if ( param_getdec(Cmd, 1, &bytepos) ) return usage_pcf7931_write();
|
||||
|
||||
if ( (block > 7) || (bytepos > 3) ) return usage_pcf7931_write();
|
||||
if ( (block > 7) || (bytepos > 15) ) return usage_pcf7931_write();
|
||||
|
||||
data = param_get8ex(Cmd, 2, 0, 16);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue