]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
fixed some more compiler warnings
[proxmark3-svn] / client / cmdhw.c
index 991cd5324710f0558c1efd57a13e6ed39a3a1cf2..dd1f37b3c5be343f20ad86d1e006c1c91e590143 100644 (file)
@@ -13,7 +13,7 @@
 #include <string.h>
 #include <limits.h>
 #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);
Impressum, Datenschutz