remove some over the top verbose logging

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-26 20:30:10 -08:00
parent 48f7f611dc
commit ac7b6a0561

View file

@ -333,10 +333,7 @@ void lora32_read_data(lora32_cfg_t *lora, uint8_t *data) {
for(i = 0; i < len; i++) { for(i = 0; i < len; i++) {
data[i] = lora32_read_reg(lora, REG_FIFO); data[i] = lora32_read_reg(lora, REG_FIFO);
printf("%02X (%c) ", data[i], (data[i] > 32 ? data[i] : ' '));
} }
printf("\n");
} }
static void IRAM_ATTR lora32_on_dio0(void *arg) { static void IRAM_ATTR lora32_on_dio0(void *arg) {
@ -364,6 +361,7 @@ uint8_t lora32_init(lora32_cfg_t *lora) {
// init spi // init spi
ESP_LOGI(TAG, "Initializing SPI bus"); ESP_LOGI(TAG, "Initializing SPI bus");
// TODO fix this awkward log along with pin assignments in general
ESP_LOGI(TAG, "\n MISO: %d\nMOSI: %d\nCLK: %d\nNSS: %d", PIN_NUM_MISO, PIN_NUM_MOSI, PIN_NUM_CLK, lora->nss); ESP_LOGI(TAG, "\n MISO: %d\nMOSI: %d\nCLK: %d\nNSS: %d", PIN_NUM_MISO, PIN_NUM_MOSI, PIN_NUM_CLK, lora->nss);
spi_bus_config_t buscfg = { spi_bus_config_t buscfg = {