1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

upd changelog

This commit is contained in:
MX
2025-10-13 22:56:32 +03:00
parent dbc5895b30
commit 9506ccde2e
2 changed files with 8 additions and 47 deletions

View File

@@ -486,9 +486,12 @@ NfcCommand felica_poller_state_handler_read_lite_blocks(FelicaPoller* instance)
NfcCommand felica_poller_state_handler_read_success(FelicaPoller* instance) {
FURI_LOG_D(TAG, "Read Success");
if(!instance->auth.context.auth_status.internal ||
!instance->auth.context.auth_status.external) {
instance->data->blocks_read--;
if((!instance->auth.context.auth_status.internal ||
!instance->auth.context.auth_status.external) &&
instance->data->workflow_type == FelicaLite) {
if(instance->data->blocks_read != 0) {
instance->data->blocks_read--;
}
instance->felica_event.type = FelicaPollerEventTypeIncomplete;
} else {
memcpy(