Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/nfc/protocols/felica/felica_poller.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,9 @@ NfcCommand felica_poller_state_handler_read_success(FelicaPoller* instance) {
if((!instance->auth.context.auth_status.internal ||
!instance->auth.context.auth_status.external) &&
instance->data->workflow_type == FelicaLite) {
instance->data->blocks_read--;
if(instance->data->blocks_read != 0) {
instance->data->blocks_read--;
Comment thread
hedger marked this conversation as resolved.
}
instance->felica_event.type = FelicaPollerEventTypeIncomplete;
} else {
memcpy(
Expand Down