summaryrefslogtreecommitdiff
path: root/CommandTerminal/CmdFactoryDefault.cpp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-09-14 11:01:44 -0500
committerJason Reiss <jreiss@multitech.com>2016-09-14 11:01:44 -0500
commit6efd824f3d18ba8985cbc87f629f5e737495c054 (patch)
tree5448db65ea84f56c2551ec3efd74d64daacdd6d9 /CommandTerminal/CmdFactoryDefault.cpp
parent54270b95f3fe169948ef551c49204defcda4033b (diff)
parent768951bf1beb7a368b1a94b71a95c832d1f2fcc6 (diff)
downloadmtdot-box-evb-factory-firmware-6efd824f3d18ba8985cbc87f629f5e737495c054.tar.gz
mtdot-box-evb-factory-firmware-6efd824f3d18ba8985cbc87f629f5e737495c054.tar.bz2
mtdot-box-evb-factory-firmware-6efd824f3d18ba8985cbc87f629f5e737495c054.zip
Merge branch 'mts-lora' into Semtech
Conflicts: main.cpp
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.