change logging message to reflect handle_receive
This commit is contained in:
parent
2507305ee5
commit
a9f4e42746
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue