Have CAD be a separate toggle (set cad on/off)

This commit is contained in:
Wessel Nieboer
2026-06-14 15:20:58 +02:00
parent 099ef67348
commit 7c8e092457
15 changed files with 68 additions and 14 deletions
+4 -1
View File
@@ -259,7 +259,10 @@ float MyMesh::getAirtimeBudgetFactor() const {
}
int MyMesh::getInterferenceThreshold() const {
return 1; // non-zero enables hardware CAD (Channel Activity Detection) before TX
return 0; // disabled for now, until currentRSSI() problem is resolved
}
bool MyMesh::getCADEnabled() const {
return true; // hardware CAD before TX (no CLI toggle on companion; enabled by default)
}
int MyMesh::calcRxDelay(float score, uint32_t air_time) const {