Skip to content

Commit

Permalink
nfc app: fix st25tb protocol support
Browse files Browse the repository at this point in the history
  • Loading branch information
gornekich committed Oct 16, 2023
1 parent cfc6093 commit e931fe9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions applications/main/nfc/helpers/protocol_support/st25tb/st25tb.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#include <nfc/protocols/nfc_protocol.h>
#include "st25tb.h"
#include "st25tb_render.h"

#include <nfc/protocols/st25tb/st25tb_poller.h>

#include "nfc/nfc_app_i.h"
#include "st25tb_render.h"
#include "../nfc_protocol_support_base.h"

#include "../nfc_protocol_support_common.h"
#include "../nfc_protocol_support_gui_common.h"

static void nfc_scene_info_on_enter_st25tb(NfcApp* instance) {
Expand Down Expand Up @@ -85,7 +87,7 @@ const NfcProtocolSupportBase nfc_protocol_support_st25tb = {
.scene_read =
{
.on_enter = nfc_scene_read_on_enter_st25tb,
.on_event = NULL,
.on_event = nfc_protocol_support_common_on_event_empty,
},
.scene_read_menu =
{
Expand All @@ -95,7 +97,7 @@ const NfcProtocolSupportBase nfc_protocol_support_st25tb = {
.scene_read_success =
{
.on_enter = nfc_scene_read_success_on_enter_st25tb,
.on_event = NULL,
.on_event = nfc_protocol_support_common_on_event_empty,
},
.scene_saved_menu =
{
Expand All @@ -104,7 +106,7 @@ const NfcProtocolSupportBase nfc_protocol_support_st25tb = {
},
.scene_emulate =
{
.on_enter = NULL,
.on_event = NULL,
.on_enter = nfc_protocol_support_common_on_enter_empty,
.on_event = nfc_protocol_support_common_on_event_empty,
},
};

0 comments on commit e931fe9

Please sign in to comment.