diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-12-11 10:14:56 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-12-11 10:14:56 -0600 |
commit | a1bb849d38853c79285665e702f9425770e74133 (patch) | |
tree | a89e2e57a70c87ddf0e945ebe0d6a3a3301d921f /Layout/LayoutDemoSampling.cpp | |
parent | 2780dbb79e01d916e48452abf7d0e2b1b85dc643 (diff) | |
download | mtdot-box-evb-factory-firmware-a1bb849d38853c79285665e702f9425770e74133.tar.gz mtdot-box-evb-factory-firmware-a1bb849d38853c79285665e702f9425770e74133.tar.bz2 mtdot-box-evb-factory-firmware-a1bb849d38853c79285665e702f9425770e74133.zip |
display "No Free Channel" string properly in 868 mode
Diffstat (limited to 'Layout/LayoutDemoSampling.cpp')
-rw-r--r-- | Layout/LayoutDemoSampling.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Layout/LayoutDemoSampling.cpp b/Layout/LayoutDemoSampling.cpp index 1d1c92b..990e1e4 100644 --- a/Layout/LayoutDemoSampling.cpp +++ b/Layout/LayoutDemoSampling.cpp @@ -54,7 +54,8 @@ void LayoutDemoSampling::updateCountdown(uint32_t seconds) { char buf[32]; size_t size; - writeField(_fInfo, "No Free Channel", true); + // make sure the string version is used + writeField(_fInfo, string("No Free Channel"), true); size = snprintf(buf, sizeof(buf), "%lu s", seconds); writeField(_fSw2, buf, size, true); } |