mirror of
https://github.com/bettse/seader.git
synced 2026-10-28 07:55:04 +00:00
reset hasSam on slot status call
This commit is contained in:
1 parent
628905f8c6
commit
38dbd85eba
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user