ADD: 'lf cotag read' - COTAG can be read now.

This commit is contained in:
iceman1001 committed 2017-02-02 15:32:21 +01:00
1 parent 4401050bcc
commit 5f5b83b743
9 files changed
+232 -41

No files matched your search

+3 -2
View 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;
}