CHG: 'lf cotag read' - it now follows "lf config" settings when collecting signaldata.

This commit is contained in:
iceman1001 committed 2017-02-01 14:11:11 +01:00
1 parent d760c7b3d9
commit 507afbf3e6
6 files changed
+41 -32

No files matched your search

+3 -1
View File
@@ -15,6 +15,8 @@ int CmdCOTAGRead(const char *Cmd) {
// if (Cmd[0] == 'h' || Cmd[0] == 'H') return usage_lf_cotag_read();
CmdLFSetConfig("q 89");
UsbCommand c = {CMD_COTAG, {0, 0, 0}};
clearCommandBuffer();
SendCommand(&c);
@@ -22,7 +24,7 @@ int CmdCOTAGRead(const char *Cmd) {
PrintAndLog("command execution time out");
return 1;
}
getSamples("20000", true);
getSamples("", true);
return 0;
}