summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-24 11:52:08 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-24 11:52:08 -0600
commit1993e08d187656c970050a1fbd31739b0c121634 (patch)
tree01b37459740d6a8539698a2b2527bc3b678e6dfc
parent9a00517bb35952e672284aa15d0304c1d75f698f (diff)
downloadmtdot-box-evb-factory-firmware-1993e08d187656c970050a1fbd31739b0c121634.tar.gz
mtdot-box-evb-factory-firmware-1993e08d187656c970050a1fbd31739b0c121634.tar.bz2
mtdot-box-evb-factory-firmware-1993e08d187656c970050a1fbd31739b0c121634.zip
display device ID on bottom line, fix typo
-rw-r--r--Layout/LayoutStartup.cpp2
-rw-r--r--Mode/Mode.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Layout/LayoutStartup.cpp b/Layout/LayoutStartup.cpp
index 2922035..c317a7f 100644
--- a/Layout/LayoutStartup.cpp
+++ b/Layout/LayoutStartup.cpp
@@ -10,7 +10,7 @@ LayoutStartup::LayoutStartup(DOGS102* lcd, mDot* dot)
_lInfo(0, 4, "Factory Firmware"),
_lVersion(0, 5, "Version"),
_fVersion(8, 5, 9),
- _fId(0, 6, 17),
+ _fId(0, 7, 17),
_iLogo(0, 0, MultiTech_Logo)
{}
diff --git a/Mode/Mode.cpp b/Mode/Mode.cpp
index 820efe7..c36cf05 100644
--- a/Mode/Mode.cpp
+++ b/Mode/Mode.cpp
@@ -83,7 +83,7 @@ bool Mode::appendDataFile(const DataItem& data) {
if (data.status) {
float up_snr = (float)data.ping.up.snr / 10.0;
- float down_snr = (float)data.ping.up.snr / 4.0;
+ float down_snr = (float)data.ping.down.snr / 4.0;
snprintf(stats_buf, sizeof(stats_buf), "%3d,%2.1f,%3d,%2.1f",
data.ping.up.rssi,
up_snr,