[FL-2470, FL-2385, FL-2411] NFC fixes (#1138)

* mifare classic: increase data exchange timeout
* nfc: exit from app if can't parse file
* furi_hal_nfc: allow to switch context during detect

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2022-04-20 17:08:36 +03:00
committed by GitHub
parent d530d164b9
commit cea118cf2d
3 changed files with 13 additions and 8 deletions

View File

@@ -96,7 +96,7 @@ bool furi_hal_nfc_detect(FuriHalNfcDevData* nfc_data, uint32_t timeout) {
FURI_LOG_T(TAG, "Timeout");
break;
}
osThreadYield();
osDelay(1);
}
rfalNfcGetDevicesFound(&dev_list, &dev_cnt);
if(detected) {