[FL-1214] NFC application (#448)
* platform: include only used api-hal files * api-hal-nfc: introduce nfc hal * nfc_worker: rework nfc worker * nfc: move nfc from services to applications, add startup hook * api-hal-nfc: init nfc worker in api_hal_detect * nfc: rework nfc application * nfc: fix app exit * api-hal-nfc: init nfc worker only once
This commit is contained in:
@@ -154,6 +154,11 @@ int32_t app_loader(void* p) {
|
||||
menu_item_add(menu, menu_debug);
|
||||
});
|
||||
|
||||
// Call on start hooks
|
||||
for(size_t i = 0; i < FLIPPER_ON_SYSTEM_START_COUNT; i++) {
|
||||
(*FLIPPER_ON_SYSTEM_START[i])();
|
||||
}
|
||||
|
||||
FURI_LOG_I("APPLOADER", "OK");
|
||||
|
||||
while(1) {
|
||||
|
Reference in New Issue
Block a user