From 721deec13e7c2ed92cf9235790bbe99dae3743e2 Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Thu, 20 Feb 2020 22:18:20 -0800 Subject: [PATCH] stop putting radio into rx mode, should be user controlled --- main/esp32-lora.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/esp32-lora.c b/main/esp32-lora.c index 6bb33aa..44159b6 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -153,9 +153,6 @@ 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); - - // questionable.... - lora32_enable_continous_rx(lora); } void lora32_set_frequency(lora32_cfg_t *lora, long frequency) { @@ -443,8 +440,6 @@ uint8_t lora32_init(lora32_cfg_t *lora) { // TODO comment and probably change 0x00 to a macro lora32_write_reg(lora, REG_DIO_MAPPING_1, 0x00); - - lora32_enable_continous_rx(lora); } return 1;