Skip to content

Commit dad7d85

Browse files
author
Veijo Pesonen
committed
NFCEEPROM: fixes a compiler warning
1 parent 44add98 commit dad7d85

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

features/nfc/source/nfc/NFCEEPROM.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
using namespace mbed;
2121
using namespace mbed::nfc;
2222

23-
NFCEEPROM::NFCEEPROM(NFCEEPROMDriver *driver, events::EventQueue *queue, const Span<uint8_t> &ndef_buffer) : NFCTarget(ndef_buffer),
24-
_delegate(NULL), _driver(driver), _event_queue(queue), _initialized(false), _current_op(nfc_eeprom_idle), _ndef_buffer_read_sz(0), _eeprom_address(0),
25-
_operation_result(NFC_ERR_UNKNOWN), _ndef_buffer_reader{nullptr, 0, nullptr}
23+
NFCEEPROM::NFCEEPROM(NFCEEPROMDriver *driver, events::EventQueue *queue, const Span<uint8_t> &ndef_buffer)
24+
:
25+
NFCTarget(ndef_buffer), _delegate(NULL), _driver(driver), _event_queue(queue), _initialized(false),
26+
_current_op(nfc_eeprom_idle), _ndef_buffer_reader { nullptr, 0, nullptr }, _ndef_buffer_read_sz(0),
27+
_eeprom_address(0), _operation_result(NFC_ERR_UNKNOWN)
2628
{
2729
_driver->set_delegate(this);
2830
_driver->set_event_queue(queue);

0 commit comments

Comments
 (0)