Show UID and serial#
Signed-off-by: Markus Birth <markus@birth-online.de>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "uk_mbirth_sonicare.h"
|
||||
#include <nfc/protocols/mf_ultralight/mf_ultralight.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
/* generated by fbt from .png files in images folder */
|
||||
@@ -47,11 +48,15 @@ static Sonicare* sonicare_alloc(void) {
|
||||
app->popup = popup_alloc();
|
||||
view_dispatcher_add_view(app->view_dispatcher, SonicareViewPopup, popup_get_view(app->popup));
|
||||
|
||||
app->nfc_data = mf_ultralight_alloc();
|
||||
|
||||
return app;
|
||||
}
|
||||
|
||||
static void sonicare_free(Sonicare* app) {
|
||||
furi_assert(app);
|
||||
|
||||
mf_ultralight_free(app->nfc_data);
|
||||
|
||||
// Popup
|
||||
view_dispatcher_remove_view(app->view_dispatcher, SonicareViewPopup);
|
||||
|
||||
Reference in New Issue
Block a user