mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Implement token bucket duty cycle enforcement
This commit is contained in:
parent
90d1e87ba1
commit
eb4fa032ff
7 changed files with 68 additions and 13 deletions
|
|
@ -280,7 +280,7 @@ public:
|
|||
{
|
||||
// defaults
|
||||
memset(&_prefs, 0, sizeof(_prefs));
|
||||
_prefs.airtime_factor = 2.0; // one third
|
||||
_prefs.airtime_factor = 1.0;
|
||||
strcpy(_prefs.node_name, "NONAME");
|
||||
_prefs.freq = LORA_FREQ;
|
||||
_prefs.tx_power_dbm = LORA_TX_POWER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue