summaryrefslogtreecommitdiff
path: root/Mode/ModeDemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Mode/ModeDemo.cpp')
-rw-r--r--Mode/ModeDemo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mode/ModeDemo.cpp b/Mode/ModeDemo.cpp
index 44732c1..4add135 100644
--- a/Mode/ModeDemo.cpp
+++ b/Mode/ModeDemo.cpp
@@ -41,9 +41,9 @@ bool ModeDemo::start() {
_initial_data_rate = _dot->getTxDataRate();
// use configured data rate and power if possible
- if (_band == mDot::FB_915 && _initial_data_rate == mDot::SF_10) {
- logInfo("using SF_9 instead of SF_10 - SF_10 max packet size is too small for data");
- _dot->setTxDataRate(mDot::SF_9);
+ if (_band == mDot::FB_915 && _initial_data_rate == mDot::DR0) {
+ logInfo("using DR1 instead of DR0 - DR0 max packet size is too small for data");
+ _dot->setTxDataRate(mDot::DR1);
}
_state = show_help;