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

This commit is contained in:
Wessel Nieboer committed 2026-06-14 15:20:58 +02:00
1 parent 3f1c0fb60b
commit e77b6b101f
15 files changed
+68 -14

No files matched your search

+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 {