X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..686f0a1794863adc1fe4cb27e920081e9b20e94e:/client/cmdhw.c diff --git a/client/cmdhw.c b/client/cmdhw.c index cdeb48b8..dd1f37b3 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -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);