From 38dbd85eba8da616f067b17c4d2ef245551d5275 Mon Sep 17 00:00:00 2001 From: Eric Betts Date: Tue, 4 Jul 2023 09:03:44 -0700 Subject: [PATCH] reset hasSam on slot status call --- ccid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ccid.c b/ccid.c index bcd1719..153dac0 100644 --- a/ccid.c +++ b/ccid.c @@ -41,6 +41,7 @@ void PC_to_RDR_IccPowerOn(SeaderUartBridge* seader_uart) { } void PC_to_RDR_GetSlotStatus(SeaderUartBridge* seader_uart) { + hasSAM = false; // If someone is calling this, reset sam state memset(seader_uart->tx_buf, 0, SEADER_UART_RX_BUF_SIZE); seader_uart->tx_buf[0] = SYNC; seader_uart->tx_buf[1] = CTRL;