]> granicus.if.org Git - esp-idf/commitdiff
Changed log level for spi_master
authorVikram Dattu <vikram.dattu@espressif.com>
Tue, 18 Jun 2019 08:34:32 +0000 (14:04 +0530)
committerbot <bot@espressif.com>
Mon, 5 Aug 2019 05:34:11 +0000 (05:34 +0000)
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
components/driver/spi_master.c

index 5976b008ffbedec84cdbec4806a49b29ff24fdc0..61376c9b38961dac77fe29f51c4dedba3e0146f5 100644 (file)
@@ -1174,7 +1174,7 @@ static SPI_MASTER_ISR_ATTR esp_err_t setup_priv_desc(spi_transaction_t *trans_de
     }
     if (send_ptr && isdma && !esp_ptr_dma_capable( send_ptr )) {
         //if txbuf in the desc not DMA-capable, malloc a new one
-        ESP_LOGI( SPI_TAG, "Allocate TX buffer for DMA" );
+        ESP_LOGD( SPI_TAG, "Allocate TX buffer for DMA" );
         uint32_t *temp = heap_caps_malloc((trans_desc->length + 7) / 8, MALLOC_CAP_DMA);
         if (temp == NULL) goto clean_up;