From 95d6bef66b66cb7f734d51e813fcc2e30128c79c Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Sat, 22 Feb 2020 08:34:26 -0800 Subject: [PATCH] change SPI read/write log message to VERBOSE --- main/esp32-lora.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/esp32-lora.c b/main/esp32-lora.c index ff50796..abf68e6 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -76,7 +76,7 @@ uint8_t lora32_read_reg(lora32_cfg_t *lora, uint8_t address) { ESP_ERROR_CHECK(spi_device_transmit(lora->spi, &t)); - ESP_LOGD(TAG, "<%2X<%2X", address, t.rx_data[1]); + ESP_LOGV(TAG, "<%2X<%2X", address, t.rx_data[1]); return t.rx_data[1]; } @@ -87,7 +87,7 @@ void lora32_write_reg(lora32_cfg_t *lora, uint8_t address, uint8_t value) { spi_transaction_t t; memset(&t, 0, sizeof(spi_transaction_t)); - ESP_LOGD(TAG, ">%2X>%2X", address, value); + ESP_LOGV(TAG, ">%2X>%2X", address, value); t.length = 16; t.flags = SPI_TRANS_USE_TXDATA;