diff --git a/include/esp32-lora.h b/include/esp32-lora.h index 3028118..71b3fc5 100644 --- a/include/esp32-lora.h +++ b/include/esp32-lora.h @@ -112,7 +112,7 @@ uint8_t lora32_parse_packet(lora32_cfg_t *lora, uint8_t size); void lora32_send(lora32_cfg_t *config, uint8_t *data, uint8_t len); void lora32_set_spreadfactor(lora32_cfg_t *lora, uint8_t factor); void lora32_dump_regs(lora32_cfg_t *lora); -void lora32_enable_continous_rx(lora32_cfg_t *lora); +void lora32_enable_continuous_rx(lora32_cfg_t *lora); void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d); void lora32_read_data(lora32_cfg_t *lora, uint8_t *data); diff --git a/main/esp32-lora.c b/main/esp32-lora.c index 1e9307e..6bb33aa 100644 --- a/main/esp32-lora.c +++ b/main/esp32-lora.c @@ -282,7 +282,7 @@ void lora32_set_spreadfactor(lora32_cfg_t *lora, uint8_t factor) { lora32_write_reg(lora, REG_MODEM_CONFIG_2, (lora32_read_reg(lora, REG_MODEM_CONFIG_2) & 0x0F) | ((factor << 4) & 0xF0)); } -void lora32_enable_continous_rx(lora32_cfg_t *lora) { +void lora32_enable_continuous_rx(lora32_cfg_t *lora) { ESP_LOGD(TAG, "enabling continuous receive"); lora32_write_reg(lora, REG_OP_MODE, MODE_LONG_RANGE_MODE | MODE_RX_CONTINUOUS);