diff options
author | Mike Fiore <mfiore@multitech.com> | 2016-01-05 16:03:10 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2016-01-05 16:03:10 -0600 |
commit | b8db586fa6ebbd4b1da2cd6937560103ce466f84 (patch) | |
tree | 47de755162f849ebc154fae67e50d061ad47c20a | |
parent | af687a35600daebeb363f688910a878e856972c0 (diff) | |
download | mtdot-box-evb-factory-firmware-b8db586fa6ebbd4b1da2cd6937560103ce466f84.tar.gz mtdot-box-evb-factory-firmware-b8db586fa6ebbd4b1da2cd6937560103ce466f84.tar.bz2 mtdot-box-evb-factory-firmware-b8db586fa6ebbd4b1da2cd6937560103ce466f84.zip |
wait 5 seconds between surveys in a sweep in 868 frequency band
-rw-r--r-- | Mode/ModeSweep.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mode/ModeSweep.cpp b/Mode/ModeSweep.cpp index d34e951..7464ab8 100644 --- a/Mode/ModeSweep.cpp +++ b/Mode/ModeSweep.cpp @@ -243,7 +243,8 @@ bool ModeSweep::start() { } } - if (_display_timer.read_ms() > 2000) { + // wait 5s in EU mode to compensate for potential "no free channel" situations on server + if ((_band == mDot::FB_915 && _display_timer.read_ms() > 2000) || _display_timer.read_ms() > 5000) { _display_timer.stop(); _display_timer.reset(); if (_survey_current == _survey_total) { |