diff options
-rw-r--r-- | Mode/ModeSingle.cpp | 2 | ||||
-rw-r--r-- | Mode/ModeSweep.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mode/ModeSingle.cpp b/Mode/ModeSingle.cpp index 42198e7..bc2cb4f 100644 --- a/Mode/ModeSingle.cpp +++ b/Mode/ModeSingle.cpp @@ -294,7 +294,7 @@ bool ModeSingle::start() { _index++; } if (send_data) { - std::vector<uint8_t> s_data; + std::vector<uint8_t> s_data = formatSurveyData(_data); logInfo("sending data %s %d", _dot->DataRateStr(_data_rate).c_str(), _power); send_data = false; _success.updateInfo("Data Sending..."); diff --git a/Mode/ModeSweep.cpp b/Mode/ModeSweep.cpp index 7ede74d..2ac495f 100644 --- a/Mode/ModeSweep.cpp +++ b/Mode/ModeSweep.cpp @@ -364,7 +364,7 @@ bool ModeSweep::start() { _lora->ping(); } if (send_data) { - std::vector<uint8_t> s_data; + std::vector<uint8_t> s_data = formatSurveyData(_data); logInfo("sending data %s %d", _dot->DataRateStr(_data_rate).c_str(), _power); send_data = false; _success.updateInfo("Data Sending..."); |