From fca72ac0f1762fb5c1f0bca41f5e4ec13c2c66f0 Mon Sep 17 00:00:00 2001 From: Morgan Allen Date: Sun, 29 Jul 2018 00:46:33 -0700 Subject: [PATCH] reenable rx after sending --- main/esp32-lora.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/esp32-lora.c b/main/esp32-lora.c index c42d32d..12928af 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -155,6 +155,8 @@ void lora32_send(lora32_cfg_t *lora, uint8_t *data, uint8_t len) { ESP_LOGD(TAG, "lora32_send TX done"); lora32_write_reg(lora, REG_IRQ_FLAGS, IRQ_TX_DONE_MASK); + + lora32_enable_continous_rx(lora); } void lora32_set_frequency(lora32_cfg_t *lora, long frequency) {