Skip to content

Commit 5d3914b

Browse files
merlokkconorpp
authored andcommitted
remove delays
1 parent abe306a commit 5d3914b

File tree

1 file changed

+0
-2
lines changed
  • targets/stm32l432/src

1 file changed

+0
-2
lines changed

targets/stm32l432/src/nfc.c

-2
Original file line numberDiff line numberDiff line change
@@ -802,15 +802,13 @@ void nfc_process_iblock(uint8_t * buf, int len)
802802

803803
memmove(&chain_buffer[chain_buffer_len], apdu.data, apdu.lc);
804804
chain_buffer_len += apdu.lc;
805-
delay(1);
806805
nfc_write_response(buf[0], SW_SUCCESS);
807806
printf1(TAG_NFC, "APDU chaining ok. %d/%d\r\n", apdu.lc, chain_buffer_len);
808807
return;
809808
}
810809

811810
// if we have ISO 7816 APDU chain - move there all the data
812811
if (!chain_buffer_tx && chain_buffer_len > 0) {
813-
delay(1);
814812
memmove(&apdu.data[chain_buffer_len], apdu.data, apdu.lc);
815813
memmove(apdu.data, chain_buffer, chain_buffer_len);
816814
apdu.lc += chain_buffer_len; // here apdu struct does not match with memory!

0 commit comments

Comments
 (0)