summaryrefslogtreecommitdiff
path: root/Layout/LayoutDemoSampling.cpp
diff options
context:
space:
mode:
authorLeon Lindenfelser <llindenfelser@multitech.com>2015-12-09 15:51:44 -0600
committerLeon Lindenfelser <llindenfelser@multitech.com>2015-12-09 15:51:44 -0600
commit01988b37d50f8e5fefd2d21aea8102683c6917a1 (patch)
tree014c5ac46110d636d8b97015d38e5c005ff28052 /Layout/LayoutDemoSampling.cpp
parentc29f4bf9b0b628df0749cf668bd27894d678785b (diff)
parent0a4338f48bf14ef1156c5a77effda20472a9cf5e (diff)
downloadmtdot-box-evb-factory-firmware-01988b37d50f8e5fefd2d21aea8102683c6917a1.tar.gz
mtdot-box-evb-factory-firmware-01988b37d50f8e5fefd2d21aea8102683c6917a1.tar.bz2
mtdot-box-evb-factory-firmware-01988b37d50f8e5fefd2d21aea8102683c6917a1.zip
Merge branch 'master' of ssh://sw.multitech.prv/git/mdot/mtdot-box-evb
Diffstat (limited to 'Layout/LayoutDemoSampling.cpp')
-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)