change SPI read/write log message to VERBOSE

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-22 08:34:26 -08:00
parent 22744026da
commit 95d6bef66b

View file

@ -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;