X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a553f2674865fa544d04ca7b8194e30c008644ae..f66021cf4875fed1ae5b6767f61197d3896e224e:/client/cmdhw.c

diff --git a/client/cmdhw.c b/client/cmdhw.c
index 4dd5823d..dd1f37b3 100644
--- a/client/cmdhw.c
+++ b/client/cmdhw.c
@@ -13,7 +13,8 @@
 #include <string.h>
 #include <limits.h>
 #include "ui.h"
-#include "proxusb.h"
+//#include "proxusb.h"
+#include "proxmark3.h"
 #include "cmdparser.h"
 #include "cmdhw.h"
 
@@ -86,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);