diff options
Diffstat (limited to 'Mode/ModeSingle.cpp')
-rw-r--r-- | Mode/ModeSingle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mode/ModeSingle.cpp b/Mode/ModeSingle.cpp index 982d8b9..6cc3f4b 100644 --- a/Mode/ModeSingle.cpp +++ b/Mode/ModeSingle.cpp @@ -324,7 +324,9 @@ void ModeSingle::incrementRatePower() { if (_power == 20) { _power = 2; _data_rate++; - if (_band == mDot::FB_915 && _data_rate > mDot::DR4 || _band == mDot::FB_868 && _data_rate > mDot::DR7) { + if ((_band == mDot::FB_US915 && _data_rate > mDot::DR4) || + (_band == mDot::FB_AU915 && _data_rate > mDot::DR4) || + (_band == mDot::FB_EU868 && _data_rate > mDot::DR7)) { _data_rate = mDot::DR0; } } else { |