summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-12-09 14:56:31 -0600
committerMike Fiore <mfiore@multitech.com>2015-12-09 14:56:31 -0600
commit0a4338f48bf14ef1156c5a77effda20472a9cf5e (patch)
tree737f45c18a047bd98c944b18b5f8270fb60e2e8a
parent1591080215485a8f734833f1121c52dfe66fc470 (diff)
downloadmtdot-box-evb-factory-firmware-0a4338f48bf14ef1156c5a77effda20472a9cf5e.tar.gz
mtdot-box-evb-factory-firmware-0a4338f48bf14ef1156c5a77effda20472a9cf5e.tar.bz2
mtdot-box-evb-factory-firmware-0a4338f48bf14ef1156c5a77effda20472a9cf5e.zip
fix bug in LayoutDemoSampling countdown update
-rw-r--r--Layout/LayoutDemoSampling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Layout/LayoutDemoSampling.cpp b/Layout/LayoutDemoSampling.cpp
index 14a4cf7..c88acee 100644
--- a/Layout/LayoutDemoSampling.cpp
+++ b/Layout/LayoutDemoSampling.cpp
@@ -67,7 +67,7 @@ void LayoutDemoSampling::updateInterval(uint32_t seconds) {
size_t size;
memset(buf, ' ', sizeof(buf));
- writeField(_fInfo, buf, size, true);
+ writeField(_fInfo, buf, sizeof(buf), true);
memset(buf, 0, sizeof(buf));
if (seconds < 60)