nfc: fix exit after emulation (#1385)

This commit is contained in:
gornekich 2022-07-12 17:56:56 +03:00 committed by GitHub
parent 222394d3ea
commit f707aa92bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,8 @@ bool furi_hal_nfc_listen_rx(FuriHalNfcTxRxContext* tx_rx, uint32_t timeout_ms) {
continue; continue;
} }
if(osKernelGetTickCount() - start > timeout_ms) { if(osKernelGetTickCount() - start > timeout_ms) {
FURI_LOG_D(TAG, "Interrupt waiting timeout"); FURI_LOG_T(TAG, "Interrupt waiting timeout");
osDelay(1);
break; break;
} }
} }