[FL-3122] Re-init NFC when starting the worker (#2399)

* Re-init NFC when starting the worker
* FuriHal: cleanup nfc init/deinit sequence
* FuriHal: a little bit more defensive nfc init

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Astra
2023-02-20 16:44:03 +02:00
committed by GitHub
parent 738e0df4f4
commit b15c4afea1
4 changed files with 26 additions and 3 deletions

View File

@@ -101,6 +101,10 @@ typedef struct {
*/
void furi_hal_nfc_init();
/** Deinit nfc
*/
void furi_hal_nfc_deinit();
/** Check if nfc worker is busy
*
* @return true if busy