[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:
@@ -8,10 +8,10 @@
|
||||
#include "nfc_types.h"
|
||||
|
||||
typedef enum {
|
||||
NfcViewMenu,
|
||||
NfcViewRead,
|
||||
NfcViewEmulate,
|
||||
NfcViewField,
|
||||
NfcViewCli,
|
||||
NfcViewError,
|
||||
} NfcView;
|
||||
|
||||
@@ -30,8 +30,6 @@ void nfc_view_emulate_draw(Canvas* canvas, void* model);
|
||||
|
||||
void nfc_view_field_draw(Canvas* canvas, void* model);
|
||||
|
||||
void nfc_view_cli_draw(Canvas* canvas, void* model);
|
||||
|
||||
typedef struct {
|
||||
ReturnCode error;
|
||||
} NfcViewErrorModel;
|
||||
|
Reference in New Issue
Block a user