diff --git a/main/esp32-lora.c b/main/esp32-lora.c index fac071b..15123f1 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -2,6 +2,7 @@ #include "freertos/FreeRTOS.h" #include "freertos/task.h" +#include "freertos/queue.h" #include "esp_log.h" #include "esp_heap_caps.h" @@ -344,7 +345,7 @@ void lora32_handle_dio0(void *arg) { ESP_LOGD(TAG, "lora32_handle_dio0: %s", msg); lora->fifoIdx = 0; - lora32_write_reg(lora, REG_FIFO_ADDR_PTR, 0); + //lora32_write_reg(lora, REG_FIFO_ADDR_PTR, 0); lora->receive((uint8_t*)&msg, len); }