mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 12:59:44 -07:00
allow hex input again to lf presco
This commit is contained in:
parent
b4810303f5
commit
ebf93643fa
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode
|
||||||
if(cmdp == 0) errors = 1;
|
if(cmdp == 0) errors = 1;
|
||||||
|
|
||||||
//Validations
|
//Validations
|
||||||
if(errors || stringlen == 0) return -1;
|
if(errors || (stringlen == 0 && !hex) ) return -1;
|
||||||
|
|
||||||
if (!hex) {
|
if (!hex) {
|
||||||
for (int index =0; index < strlen(id); ++index) {
|
for (int index =0; index < strlen(id); ++index) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue