Eric Betts 2 лет назад
Родитель
Сommit
ec7a503ffc
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      ccid.c
  2. 1 1
      uart.c

+ 2 - 0
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

+ 1 - 1
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);