summaryrefslogtreecommitdiff
path: root/Mode/ModeGps.cpp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-10-03 13:11:24 -0500
committerJason Reiss <jreiss@multitech.com>2016-10-03 13:11:24 -0500
commitd870873c250d27c214f49480401208e50a9cc330 (patch)
treeb190f9dc88ee3a38ef3d9f4424fc0996a7b515d0 /Mode/ModeGps.cpp
parentaa31b482b93bbbf64ca201381d12f716e695c16b (diff)
downloadmtdot-box-evb-factory-firmware-d870873c250d27c214f49480401208e50a9cc330.tar.gz
mtdot-box-evb-factory-firmware-d870873c250d27c214f49480401208e50a9cc330.tar.bz2
mtdot-box-evb-factory-firmware-d870873c250d27c214f49480401208e50a9cc330.zip
Update to support AU915
Diffstat (limited to 'Mode/ModeGps.cpp')
-rw-r--r--Mode/ModeGps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mode/ModeGps.cpp b/Mode/ModeGps.cpp
index 47053cb..58b2b1f 100644
--- a/Mode/ModeGps.cpp
+++ b/Mode/ModeGps.cpp
@@ -67,7 +67,7 @@ void ModeGps::init(){
void ModeGps::drIncrement(){
_data_rate++;
- if (_data_rate > mDot::DR3 && _band == mDot::FB_915 || _data_rate > mDot::DR5) {
+ if ((_data_rate > mDot::DR3 && (_band == mDot::FB_US915 || _band == mDot::FB_AU915)) || _data_rate > mDot::DR5) {
_drAll = true;
_data_rate = 0;
}