mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-11-27 18:20:28 -05:00
Added support for handling noise floor calculations on devices with LNA gain variance during LNA recalibration. Fixed potential incoming packet buffer corruption on split packet reception at high bitrates.
This commit is contained in:
parent
1e054097dd
commit
121f9e79e8
5 changed files with 25 additions and 12 deletions
|
|
@ -1239,6 +1239,7 @@ void updateBitrate() {
|
|||
|
||||
bool fast_rate = lora_bitrate > LORA_FAST_THRESHOLD_BPS;
|
||||
lora_limit_rate = lora_bitrate > LORA_LIMIT_THRESHOLD_BPS;
|
||||
lora_guard_rate = (!lora_limit_rate && lora_bitrate > LORA_GUARD_THRESHOLD_BPS);
|
||||
|
||||
int csma_slot_min_ms = CSMA_SLOT_MIN_MS;
|
||||
float lora_preamble_target_ms = LORA_PREAMBLE_TARGET_MS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue