mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #1712 from merlokk/tk_fix
texkom simulation timeout and verbose fixes
This commit is contained in:
commit
0ffb42f663
2 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ int HfSimulateTkm(uint8_t *uid, uint8_t modulation, uint32_t timeout) {
|
|||
|
||||
WDT_HIT();
|
||||
|
||||
if (startTime > 0 && startTime + timeout < GetTickCount())
|
||||
if (timeout > 0 && startTime + timeout < GetTickCount())
|
||||
break;
|
||||
|
||||
// in mV
|
||||
|
|
|
@ -574,7 +574,7 @@ static int CmdHFTexkomReader(const char *Cmd) {
|
|||
|
||||
if (cm) {
|
||||
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||
return read_texkom_uid(cm, true);
|
||||
return read_texkom_uid(cm, verbose);
|
||||
}
|
||||
|
||||
uint32_t samplesCount = 30000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue