summaryrefslogtreecommitdiff
path: root/Layout/LayoutJoin.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-12-11 10:14:56 -0600
committerMike Fiore <mfiore@multitech.com>2015-12-11 10:14:56 -0600
commita1bb849d38853c79285665e702f9425770e74133 (patch)
treea89e2e57a70c87ddf0e945ebe0d6a3a3301d921f /Layout/LayoutJoin.cpp
parent2780dbb79e01d916e48452abf7d0e2b1b85dc643 (diff)
downloadmtdot-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/LayoutJoin.cpp')
-rw-r--r--Layout/LayoutJoin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Layout/LayoutJoin.cpp b/Layout/LayoutJoin.cpp
index 487f04b..6d58b57 100644
--- a/Layout/LayoutJoin.cpp
+++ b/Layout/LayoutJoin.cpp
@@ -85,7 +85,8 @@ void LayoutJoin::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);
}