Custom Channel Plan version of MTDOT Box firmware
Dependencies: DOGS102 GpsParser ISL29011 MMA845x MPL3115A2 MTS-Serial NCP5623B libmDot-Custom mDot_Channel_Plans
Fork of MTDOT-BOX-EVB-Factory-Firmware by
Diff: Mode/ModeSingle.cpp
- Revision:
- 12:5b5e076b5f01
- Parent:
- 7:a31236c2e75c
--- a/Mode/ModeSingle.cpp Thu Nov 10 22:10:58 2016 +0000 +++ b/Mode/ModeSingle.cpp Wed Nov 30 01:58:34 2016 +0000 @@ -324,9 +324,7 @@ if (_power == 20) { _power = 2; _data_rate++; - if ((_band == mDot::FB_US915 && _data_rate > mDot::DR4) || - (_band == mDot::FB_AU915 && _data_rate > mDot::DR4) || - (_band == mDot::FB_EU868 && _data_rate > mDot::DR6)) { + if (_data_rate > mDot::DR7) { _data_rate = mDot::DR0; } } else {