X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/243f899b92dd075ed32fc9a42e30f9cdb912967e..b9534ca070fcb38d37b572810365bbb4b8ffbc8b:/client/cmdhw.c diff --git a/client/cmdhw.c b/client/cmdhw.c index 4dae7a32..5e2f7485 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -222,10 +222,11 @@ int CmdSetDivisor(const char *Cmd) PrintAndLog("divisor must be between 19 and 255"); return 1; } - + // 12 000 000 (12Mhz) + // clearCommandBuffer(); SendCommand(&c); - PrintAndLog("Divisor set, expected freq=%dHz", 12000000 / (c.arg[0]+1)); + PrintAndLog("Divisor set, expected %.1f KHz", ((double)12000 / (c.arg[0]+1)) ); return 0; } @@ -288,7 +289,7 @@ int CmdPing(const char *Cmd) UsbCommand c = {CMD_PING}; SendCommand(&c); if (WaitForResponseTimeout(CMD_ACK, &resp, 1000)) - PrintAndLog("Ping successfull"); + PrintAndLog("Ping successful"); else PrintAndLog("Ping failed"); return 0;