summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Lindenfelser <llindenfelser@multitech.com>2016-01-08 11:35:27 -0600
committerLeon Lindenfelser <llindenfelser@multitech.com>2016-01-08 11:35:27 -0600
commitc3ce8e7063a424be539ec853102be7191b13cef0 (patch)
tree20480fb0748fc729a47d6d0fd05b0d0d4e8cb557
parent53c06d0e002016e3a8dd72e325ba902f2eecaf2a (diff)
downloadmtdot-box-evb-factory-firmware-c3ce8e7063a424be539ec853102be7191b13cef0.tar.gz
mtdot-box-evb-factory-firmware-c3ce8e7063a424be539ec853102be7191b13cef0.tar.bz2
mtdot-box-evb-factory-firmware-c3ce8e7063a424be539ec853102be7191b13cef0.zip
In demo mode, changed KPa to kPa and lux to lx.
-rw-r--r--Layout/LayoutDemoSampling.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Layout/LayoutDemoSampling.cpp b/Layout/LayoutDemoSampling.cpp
index fa37bcb..3a67524 100644
--- a/Layout/LayoutDemoSampling.cpp
+++ b/Layout/LayoutDemoSampling.cpp
@@ -145,7 +145,7 @@ void LayoutDemoSampling::updateAccelerationZ(int16_t z) {
void LayoutDemoSampling::updatePressure(float pressure) {
char buf[16];
size_t size;
- size = snprintf(buf, sizeof(buf), "%3.2f KPa", pressure/1000);
+ size = snprintf(buf, sizeof(buf), "%3.2f kPa", pressure/1000);
writeField(_fPres, buf, size, true);
}
@@ -166,6 +166,6 @@ void LayoutDemoSampling::updateTemperature(float temperature) {
void LayoutDemoSampling::updateLight(float light) {
char buf[16];
size_t size;
- size = snprintf(buf, sizeof(buf), "%4.2f lux", light);
+ size = snprintf(buf, sizeof(buf), "%4.2f lx", light);
writeField(_fLight, buf, size, true);
}