X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/902cb3c00b49535f0de9a3b6d5ba0c54260ccac1..78e7cf984c5bcd672cde13d50a4b3f7c3433569f:/client/cmdhw.c diff --git a/client/cmdhw.c b/client/cmdhw.c index 991cd532..dd1f37b3 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -13,7 +13,7 @@ #include #include #include "ui.h" -#include "proxusb.h" +//#include "proxusb.h" #include "proxmark3.h" #include "cmdparser.h" #include "cmdhw.h" @@ -87,7 +87,7 @@ int CmdReset(const char *Cmd) int CmdSetDivisor(const char *Cmd) { UsbCommand c = {CMD_SET_LF_DIVISOR, {strtol(Cmd, NULL, 0), 0, 0}}; - if (c.arg[0] < 0 || c.arg[0] > 255) { + if (c.arg[0] < 19 || c.arg[0] > 255) { PrintAndLog("divisor must be between 19 and 255"); } else { SendCommand(&c);