Update iclass.c

Re-added stop tracing in main loop to avoid crashes

Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
Antiklesys 2025-06-04 22:41:30 +08:00 committed by GitHub
commit 81d7ac1f59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2747,7 +2747,7 @@ void iClass_Recover(iclass_recover_req_t *msg) {
while (!card_select || !card_auth) {
Iso15693InitReader(); //has to be at the top as it starts tracing
set_tracing(false); //disable tracing to prevent crashes - set to true for debugging
//Step0 Card Select Routine
eof_time = 0; //reset eof time
res = select_iclass_tag(&hdr, false, &eof_time, shallow_mod);