summaryrefslogtreecommitdiff
path: root/Mode/Mode.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 /Mode/Mode.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 'Mode/Mode.cpp')
-rw-r--r--Mode/Mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mode/Mode.cpp b/Mode/Mode.cpp
index 389bf7f..bed78ec 100644
--- a/Mode/Mode.cpp
+++ b/Mode/Mode.cpp
@@ -49,7 +49,7 @@ Mode::Mode(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHandler* lora, G
_index(0),
_band(_dot->getFrequencyBand()),
_sub_band(_dot->getFrequencySubBand()),
- _data_rate(mDot::SF_7),
+ _data_rate(mDot::DR0),
_power(2),
_next_tx(0),
_send_data(false),
@@ -129,7 +129,7 @@ bool Mode::appendDataFile(const DataItem& data) {
(data.gps_lock) ? alt_buf : "",
(data.gps_lock) ? time_buf : "",
data.status ? stats_buf : ",,,",
- _dot->DataRateStr(data.data_rate).substr(3).c_str(),
+ _dot->DataRateStr(data.data_rate).substr(2).c_str(),
data.power);
if (size < 0) {