diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-12-09 14:56:31 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-12-09 14:56:31 -0600 |
commit | 0a4338f48bf14ef1156c5a77effda20472a9cf5e (patch) | |
tree | 737f45c18a047bd98c944b18b5f8270fb60e2e8a /Layout | |
parent | 1591080215485a8f734833f1121c52dfe66fc470 (diff) | |
download | mtdot-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
Diffstat (limited to 'Layout')
-rw-r--r-- | Layout/LayoutDemoSampling.cpp | 2 |
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) |