mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg 'lf cmdread' - clientside checks, less wait times on device
This commit is contained in:
parent
d40341d962
commit
f142ad139b
2 changed files with 17 additions and 5 deletions
|
@ -289,6 +289,14 @@ int CmdLFCommandRead(const char *Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
// bitbang mode
|
||||
if (payload.delay == 0){
|
||||
if (payload.zeros < 7 || payload.ones < 7) {
|
||||
PrintAndLogEx(WARNING, "Warning periods cannot be less than 7us in bit bang mode");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
}
|
||||
|
||||
//Validations
|
||||
if (errors || cmdp == 0) return usage_lf_cmdread();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue