summaryrefslogtreecommitdiff
path: root/CommandTerminal/CmdFactoryDefault.cpp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-07-19 10:14:13 -0500
committerJason Reiss <jreiss@multitech.com>2016-07-19 10:14:13 -0500
commitbca5f50214f103a2c8605778a6311f8e9a5902fe (patch)
tree4960157d91aabe4b6ace44719f9964c7a3c175cd /CommandTerminal/CmdFactoryDefault.cpp
parent8697ebad4fa5cc1b223cd8bc6c7ebd833dfcee79 (diff)
downloadmtdot-box-evb-factory-firmware-bca5f50214f103a2c8605778a6311f8e9a5902fe.tar.gz
mtdot-box-evb-factory-firmware-bca5f50214f103a2c8605778a6311f8e9a5902fe.tar.bz2
mtdot-box-evb-factory-firmware-bca5f50214f103a2c8605778a6311f8e9a5902fe.zip
mts-lora datarate changes
Diffstat (limited to 'CommandTerminal/CmdFactoryDefault.cpp')
-rw-r--r--CommandTerminal/CmdFactoryDefault.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommandTerminal/CmdFactoryDefault.cpp b/CommandTerminal/CmdFactoryDefault.cpp
index 955535e..a8554cb 100644
--- a/CommandTerminal/CmdFactoryDefault.cpp
+++ b/CommandTerminal/CmdFactoryDefault.cpp
@@ -29,7 +29,7 @@ uint32_t CmdFactoryDefault::action(std::vector<std::string> args)
_dot->resetConfig();
//Factory defaults for the DotBox.
- _dot->setTxDataRate(mDot::SF_7);
+ _dot->setTxDataRate(mDot::DR0);
_dot->setFrequencySubBand(1);
_dot->setWakeDelay(242); //DotBox +MaxSize is stored here. Default is 242.
_dot->setWakeInterval(11); //DotBox +MinSize is stored here. Default is 11.