diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-12-11 09:47:25 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-12-11 09:47:25 -0600 |
commit | 2780dbb79e01d916e48452abf7d0e2b1b85dc643 (patch) | |
tree | bc9a4d964d8be761e7ded4b47257d538561e12ea /Layout/LayoutStartup.cpp | |
parent | 8f3d5d0a8e9539ebcc203f5dd7c3661cad101a35 (diff) | |
download | mtdot-box-evb-factory-firmware-2780dbb79e01d916e48452abf7d0e2b1b85dc643.tar.gz mtdot-box-evb-factory-firmware-2780dbb79e01d916e48452abf7d0e2b1b85dc643.tar.bz2 mtdot-box-evb-factory-firmware-2780dbb79e01d916e48452abf7d0e2b1b85dc643.zip |
fix bug in layout where a character from last field could be displayed in new field, remove lots of memset calls
Diffstat (limited to 'Layout/LayoutStartup.cpp')
-rw-r--r-- | Layout/LayoutStartup.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Layout/LayoutStartup.cpp b/Layout/LayoutStartup.cpp index 1662155..570761e 100644 --- a/Layout/LayoutStartup.cpp +++ b/Layout/LayoutStartup.cpp @@ -38,7 +38,6 @@ void LayoutStartup::updateGPS(bool gps) { char buf[32]; size_t size; - memset(buf, 0, sizeof(buf)); size = snprintf(buf, sizeof(buf), "%sGPS Detected", gps ? "" : "No "); writeField(_fGps, buf, size); } |