mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
Now on AuthRequest we throw CardDetected custom event
This commit is contained in:
@@ -54,6 +54,7 @@ static NfcCommand
|
|||||||
view_dispatcher_send_custom_event(instance->view_dispatcher, NfcCustomEventPollerSuccess);
|
view_dispatcher_send_custom_event(instance->view_dispatcher, NfcCustomEventPollerSuccess);
|
||||||
return NfcCommandStop;
|
return NfcCommandStop;
|
||||||
} else if(mf_ultralight_event->type == MfUltralightPollerEventTypeAuthRequest) {
|
} else if(mf_ultralight_event->type == MfUltralightPollerEventTypeAuthRequest) {
|
||||||
|
view_dispatcher_send_custom_event(instance->view_dispatcher, NfcCustomEventCardDetected);
|
||||||
nfc_device_set_data(
|
nfc_device_set_data(
|
||||||
instance->nfc_device, NfcProtocolMfUltralight, nfc_poller_get_data(instance->poller));
|
instance->nfc_device, NfcProtocolMfUltralight, nfc_poller_get_data(instance->poller));
|
||||||
const MfUltralightData* data =
|
const MfUltralightData* data =
|
||||||
|
|||||||
Reference in New Issue
Block a user