Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket

Implement token bucket duty cycle enforcement
This commit is contained in:
ripplebiz 2026-03-08 23:54:32 +11:00 committed by GitHub
commit cf0cc851d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 71 additions and 14 deletions

View file

@ -706,7 +706,7 @@ SensorMesh::SensorMesh(mesh::MainBoard& board, mesh::Radio& radio, mesh::Millise
// defaults
memset(&_prefs, 0, sizeof(_prefs));
_prefs.airtime_factor = 1.0; // one half
_prefs.airtime_factor = 1.0;
_prefs.rx_delay_base = 0.0f; // turn off by default, was 10.0;
_prefs.tx_delay_factor = 0.5f; // was 0.25f
_prefs.direct_tx_delay_factor = 0.2f; // was zero