stop putting radio into rx mode, should be user controlled
This commit is contained in:
parent
bb0163fa99
commit
721deec13e
1 changed files with 0 additions and 5 deletions
|
@ -153,9 +153,6 @@ void lora32_send(lora32_cfg_t *lora, uint8_t *data, uint8_t len) {
|
||||||
ESP_LOGD(TAG, "lora32_send TX done");
|
ESP_LOGD(TAG, "lora32_send TX done");
|
||||||
|
|
||||||
lora32_write_reg(lora, REG_IRQ_FLAGS, IRQ_TX_DONE_MASK);
|
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) {
|
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
|
// TODO comment and probably change 0x00 to a macro
|
||||||
lora32_write_reg(lora, REG_DIO_MAPPING_1, 0x00);
|
lora32_write_reg(lora, REG_DIO_MAPPING_1, 0x00);
|
||||||
|
|
||||||
lora32_enable_continous_rx(lora);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue