diff --git a/main/esp32-lora.c b/main/esp32-lora.c index 6c15b6a..9f55836 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -263,11 +263,11 @@ void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d) { static void lora32_handle_receive(lora32_cfg_t *lora) { uint8_t len = lora32_read_reg(lora, (lora->implicitHeader ? REG_PAYLOAD_LENGTH : REG_RX_NB_BYTES)); - ESP_LOGD(TAG, "lora32_dio0_task packet length: %d", len); + ESP_LOGD(TAG, "lora32_handle_receive packet length: %d", len); // TODO: set FIFO address to RX address uint8_t fifo_addr = lora32_read_reg(lora, REG_FIFO_RX_CURRENT_ADDR); - ESP_LOGD(TAG, "lora32_dio0_task current FIFO address: %d", fifo_addr); + ESP_LOGD(TAG, "lora32_handle_receive current FIFO address: %d", fifo_addr); lora32_write_reg(lora, REG_FIFO_ADDR_PTR, fifo_addr);