duty cycle off, sx erratas

This commit is contained in:
liquidraver
2026-02-25 20:40:39 +01:00
parent d8ca96c9c8
commit 501d4ce459
7 changed files with 116 additions and 47 deletions
+4 -2
View File
@@ -615,9 +615,11 @@ int main(void)
}
}
/* Apply RX boost and duty cycle settings from prefs */
/* Apply RX boost from prefs. Duty cycle is disabled — CAD-based
* duty cycling misses weak packets that continuous RX would catch.
* Arduino reference uses continuous RX for all boards. */
lora_radio.setRxBoost(companion_mesh.prefs.rx_boost != 0);
lora_radio.enableRxDutyCycle(companion_mesh.prefs.rx_duty_cycle != 0);
lora_radio.enableRxDutyCycle(false);
/* Initialize mesh event object */
k_event_init(&mesh_events);
+4 -2
View File
@@ -474,9 +474,11 @@ int main(void)
}
}
/* Apply RX boost and duty cycle settings from prefs */
/* Apply RX boost from prefs. Duty cycle is disabled — CAD-based
* duty cycling misses weak packets that continuous RX would catch.
* Arduino reference uses continuous RX for all boards. */
lora_radio.setRxBoost(prefs->rx_boost != 0);
lora_radio.enableRxDutyCycle(prefs->rx_duty_cycle != 0);
lora_radio.enableRxDutyCycle(false);
/* Feed initial UI state from loaded prefs */
ui_set_node_name(prefs->node_name);