From c3ce8e7063a424be539ec853102be7191b13cef0 Mon Sep 17 00:00:00 2001 From: Leon Lindenfelser Date: Fri, 8 Jan 2016 11:35:27 -0600 Subject: In demo mode, changed KPa to kPa and lux to lx. --- Layout/LayoutDemoSampling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Layout') 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); } -- cgit v1.2.3