From 0a4338f48bf14ef1156c5a77effda20472a9cf5e Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Wed, 9 Dec 2015 14:56:31 -0600 Subject: fix bug in LayoutDemoSampling countdown update --- Layout/LayoutDemoSampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Layout') 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) -- cgit v1.2.3