NFC Magic fix - reinit nfc at start

This commit is contained in:
MX 2023-03-09 02:18:51 +03:00
parent 16df48bac6
commit 7a413f390d
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83
2 changed files with 5 additions and 2 deletions

View file

@ -49,6 +49,9 @@ void nfc_magic_worker_start(
furi_assert(nfc_magic_worker);
furi_assert(dev_data);
furi_hal_nfc_deinit();
furi_hal_nfc_init();
nfc_magic_worker->callback = callback;
nfc_magic_worker->context = context;
nfc_magic_worker->dev_data = dev_data;

View file

@ -1195,13 +1195,13 @@ Function,+,furi_hal_mpu_protect_disable,void,FuriHalMpuRegion
Function,+,furi_hal_mpu_protect_no_access,void,"FuriHalMpuRegion, uint32_t, FuriHalMPURegionSize"
Function,+,furi_hal_mpu_protect_read_only,void,"FuriHalMpuRegion, uint32_t, FuriHalMPURegionSize"
Function,+,furi_hal_nfc_activate_nfca,_Bool,"uint32_t, uint32_t*"
Function,-,furi_hal_nfc_deinit,void,
Function,+,furi_hal_nfc_deinit,void,
Function,+,furi_hal_nfc_detect,_Bool,"FuriHalNfcDevData*, uint32_t"
Function,+,furi_hal_nfc_emulate_nfca,_Bool,"uint8_t*, uint8_t, uint8_t*, uint8_t, FuriHalNfcEmulateCallback, void*, uint32_t"
Function,+,furi_hal_nfc_exit_sleep,void,
Function,+,furi_hal_nfc_field_off,void,
Function,+,furi_hal_nfc_field_on,void,
Function,-,furi_hal_nfc_init,void,
Function,+,furi_hal_nfc_init,void,
Function,+,furi_hal_nfc_is_busy,_Bool,
Function,+,furi_hal_nfc_is_init,_Bool,
Function,+,furi_hal_nfc_listen,_Bool,"uint8_t*, uint8_t, uint8_t*, uint8_t, _Bool, uint32_t"

1 entry status name type params
1195 Function + furi_hal_mpu_protect_no_access void FuriHalMpuRegion, uint32_t, FuriHalMPURegionSize
1196 Function + furi_hal_mpu_protect_read_only void FuriHalMpuRegion, uint32_t, FuriHalMPURegionSize
1197 Function + furi_hal_nfc_activate_nfca _Bool uint32_t, uint32_t*
1198 Function - + furi_hal_nfc_deinit void
1199 Function + furi_hal_nfc_detect _Bool FuriHalNfcDevData*, uint32_t
1200 Function + furi_hal_nfc_emulate_nfca _Bool uint8_t*, uint8_t, uint8_t*, uint8_t, FuriHalNfcEmulateCallback, void*, uint32_t
1201 Function + furi_hal_nfc_exit_sleep void
1202 Function + furi_hal_nfc_field_off void
1203 Function + furi_hal_nfc_field_on void
1204 Function - + furi_hal_nfc_init void
1205 Function + furi_hal_nfc_is_busy _Bool
1206 Function + furi_hal_nfc_is_init _Bool
1207 Function + furi_hal_nfc_listen _Bool uint8_t*, uint8_t, uint8_t*, uint8_t, _Bool, uint32_t