Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions src/nfc/layer/a/emulation_layer_a.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ constexpr uint8_t dummy_signature[32] = {};
namespace m5 {
namespace nfc {

EmulationLayerA::~EmulationLayerA() = default;

bool EmulationLayerA::begin(const m5::nfc::a::PICC& picc, uint8_t* ptr, const uint32_t size)
{
if (_state != State::None) {
Expand Down
1 change: 1 addition & 0 deletions src/nfc/layer/a/emulation_layer_a.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class EmulationLayerA {
explicit EmulationLayerA(m5::unit::UnitST25R3916& u);
//! @brief Construct with CapST25R3916 (SPI)
explicit EmulationLayerA(m5::unit::CapST25R3916& u);
~EmulationLayerA();

//! @brief Gets the current emulation state
inline State state() const
Expand Down
2 changes: 2 additions & 0 deletions src/nfc/layer/a/nfc_layer_a.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ using desfire::required_read_key_no_from_access_rights;
namespace m5 {
namespace nfc {

NFCLayerA::~NFCLayerA() = default;

bool NFCLayerA::transceive(uint8_t* rx, uint16_t& rx_len, const uint8_t* tx, const uint16_t tx_len,
const uint32_t timeout_ms)
{
Expand Down
1 change: 1 addition & 0 deletions src/nfc/layer/a/nfc_layer_a.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class NFCLayerA : public m5::nfc::NFCLayerInterface {
explicit NFCLayerA(m5::unit::UnitWS1850S& u); // The implementation of this function is located in M5Unit-RFID
explicit NFCLayerA(m5::unit::UnitST25R3916& u);
explicit NFCLayerA(m5::unit::CapST25R3916& u);
~NFCLayerA();

///@name override
///@{
Expand Down
Loading