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/LayoutSweepProgress.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/LayoutSweepProgress.cpp')
-rw-r--r-- | Layout/LayoutSweepProgress.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Layout/LayoutSweepProgress.cpp b/Layout/LayoutSweepProgress.cpp index 36debef..9ddd536 100644 --- a/Layout/LayoutSweepProgress.cpp +++ b/Layout/LayoutSweepProgress.cpp @@ -35,7 +35,8 @@ void LayoutSweepProgress::updateCountdown(uint32_t seconds) { char buf[16]; size_t size; - writeField(_fCountdownLabel, "No Free Channel", true); + // make sure the string version is used + writeField(_fCountdownLabel, string("No Free Channel"), true); size = snprintf(buf, sizeof(buf), "%lu s", seconds); writeField(_fCountdown, buf, size, true); } |