@@ -186,9 +186,9 @@ bool ListenerST25R3916ForA::stop_emulation()
186186 _u.writeModeDefinition (0x00 );
187187}
188188
189- bool ListenerST25R3916ForA::transmit (const uint8_t * tx, const uint16_t tx_len, const uint32_t timeout_ms)
189+ bool ListenerST25R3916ForA::transmit (const uint8_t * tx, const uint16_t tx_len, const uint32_t /* timeout_ms*/ )
190190{
191- return _u.nfcaTransmit (tx, tx_len, timeout_ms );
191+ return _u.nfcaEmulationTransmit (tx, tx_len);
192192}
193193
194194// ------------------------------------------------------------
@@ -273,7 +273,6 @@ EmulationLayerA::State ListenerST25R3916ForA::goto_idle()
273273
274274 _wakeup = false ;
275275
276- _u.update ();
277276 return update_idle ();
278277 // return EmulationLayerA::State::Idle;
279278}
@@ -292,7 +291,6 @@ EmulationLayerA::State ListenerST25R3916ForA::goto_ready()
292291 _u.clear_bit_register8 (REG_OPERATION_CONTROL , wu); // Disable wakeup mode
293292 _u.writeModeDefinition (mode_listen_nfc_a); // Disable bitrate detection and collision
294293
295- _u.update ();
296294 return update_ready ();
297295 // return EmulationLayerA::State::Ready;
298296}
@@ -305,7 +303,6 @@ EmulationLayerA::State ListenerST25R3916ForA::goto_active()
305303
306304 _u.enable_interrupts (I_rxe32);
307305
308- _u.update ();
309306 return update_active ();
310307 // return EmulationLayerA::State::Active;
311308}
@@ -326,7 +323,6 @@ EmulationLayerA::State ListenerST25R3916ForA::goto_halt()
326323 return goto_off ();
327324 }
328325
329- _u.update ();
330326 return update_halt ();
331327 // return EmulationLayerA::State::Halt;
332328}
0 commit comments