mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* interference threshold now stored in prefs, CLI: set/get "int.thresh"
This commit is contained in:
parent
4593a484fb
commit
b3d78ac8a7
8 changed files with 30 additions and 12 deletions
|
|
@ -41,7 +41,7 @@ uint32_t Dispatcher::getCADFailMaxDuration() const {
|
|||
|
||||
void Dispatcher::loop() {
|
||||
if (millisHasNowPassed(next_floor_calib_time)) {
|
||||
_radio->triggerNoiseFloorCalibrate();
|
||||
_radio->triggerNoiseFloorCalibrate(getInterferenceThreshold());
|
||||
next_floor_calib_time = futureMillis(NOISE_FLOOR_CALIB_INTERVAL);
|
||||
}
|
||||
_radio->loop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue