From ec7a503ffc4e9e8412b03a315419cef25e983bbb Mon Sep 17 00:00:00 2001 From: Eric Betts Date: Fri, 17 Nov 2023 19:04:54 -0800 Subject: [PATCH] reduce logs --- ccid.c | 2 ++ uart.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ccid.c b/ccid.c index cc195ce..e6c5c17 100644 --- a/ccid.c +++ b/ccid.c @@ -231,6 +231,7 @@ size_t seader_ccid_process(Seader* seader, uint8_t* cmd, size_t cmd_len) { } message.consumed += 2 + 10 + message.dwLength + 1; + /* if(message.dwLength == 0) { FURI_LOG_D( TAG, @@ -249,6 +250,7 @@ size_t seader_ccid_process(Seader* seader, uint8_t* cmd, size_t cmd_len) { message.dwLength, display); } + */ //0306 81 00000000 0000 0200 01 87 //0306 81 00000000 0000 0100 01 84 diff --git a/uart.c b/uart.c index 4561998..73bc187 100644 --- a/uart.c +++ b/uart.c @@ -166,7 +166,7 @@ int32_t seader_uart_tx_thread(void* context) { for(uint8_t i = 0; i < seader_uart->tx_len; i++) { snprintf(display + (i * 2), sizeof(display), "%02x", seader_uart->tx_buf[i]); } - FURI_LOG_I(TAG, "SEND %d bytes: %s", seader_uart->tx_len, display); + // FURI_LOG_I(TAG, "SEND %d bytes: %s", seader_uart->tx_len, display); seader_uart->st.tx_cnt += seader_uart->tx_len; furi_hal_uart_tx( seader_uart->cfg.uart_ch, seader_uart->tx_buf, seader_uart->tx_len);