X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dd83c4572b8a32af50beaf1e90a92b563a4781ab..bdeac4021ae44ba5efa58c236ad48a0c1597ae06:/client/cmdhw.c diff --git a/client/cmdhw.c b/client/cmdhw.c index e7bdb6cb..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; } @@ -255,13 +256,13 @@ int CmdVersion(const char *Cmd) if (resp.arg[0] == 0 && resp.arg[1] == 0) { // no cached information available SendCommand(&c); if (WaitForResponseTimeout(CMD_ACK, &resp, 1000)) { - PrintAndLog("Prox/RFID mark3 RFID instrument"); + PrintAndLog("Proxmark3 RFID instrument"); PrintAndLog((char*)resp.d.asBytes); lookupChipID(resp.arg[0], resp.arg[1]); } } else { PrintAndLog("[[[ Cached information ]]]\n"); - PrintAndLog("Prox/RFID mark3 RFID instrument"); + PrintAndLog("Proxmark3 RFID instrument"); PrintAndLog((char*)resp.d.asBytes); lookupChipID(resp.arg[0], resp.arg[1]); PrintAndLog(""); @@ -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;