]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
chg; PRIu32 becomes %u. Lets return to whats working - %lu
[proxmark3-svn] / client / cmdhw.c
index 4dae7a32132e040a7b04a0b7ccc2945f0783282c..537e6335a1f78709a681603333581a4f22ce2c9d 100644 (file)
@@ -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;
 }
 
Impressum, Datenschutz