Skip to content

Commit 3057c6c

Browse files
authored
Merge pull request ARMmbed#7964 from paul-szczepanek-arm/master
NFC: fix reading from NFC EEPROM
2 parents 6165386 + 2a14b29 commit 3057c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/nfc/source/nfc/NFCEEPROM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ void NFCEEPROM::continue_read()
397397
_driver->read_bytes(_eeprom_address, ac_buffer_builder_write_position(buffer_builder), _ndef_buffer_read_sz - _eeprom_address);
398398
} else {
399399
// Done, close session
400+
_current_op = nfc_eeprom_read_end_session;
400401
_operation_result = NFC_OK;
401402
_driver->end_session();
402403
}

0 commit comments

Comments
 (0)