texkom simulation timeout and verbose fixes

This commit is contained in:
merlokk 2022-07-08 00:15:10 +03:00
commit 5f1c41503b
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ int HfSimulateTkm(uint8_t *uid, uint8_t modulation, uint32_t timeout) {
WDT_HIT(); WDT_HIT();
if (startTime > 0 && startTime + timeout < GetTickCount()) if (timeout > 0 && startTime + timeout < GetTickCount())
break; break;
// in mV // in mV

View file

@ -574,7 +574,7 @@ static int CmdHFTexkomReader(const char *Cmd) {
if (cm) { if (cm) {
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit"); PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
return read_texkom_uid(cm, true); return read_texkom_uid(cm, verbose);
} }
uint32_t samplesCount = 30000; uint32_t samplesCount = 30000;