From c623de9a399eb0aa6bf25d1ef0ef03f5769d0076 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sat, 4 Aug 2018 15:40:28 +0200 Subject: [PATCH] Send Queues (testing) --- src/display.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/display.cpp b/src/display.cpp index e43efcd5..c3617538 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -168,7 +168,7 @@ void refreshtheDisplay() { // update LMiC event display (line 7) u8x8.setCursor(0, 7); - u8x8.printf("%-16s", display_line7); + u8x8.printf("%-14s", display_line7); // update LoRa send queue display (line 7) msgWaiting = uxQueueMessagesWaiting(LoraSendQueue); @@ -178,7 +178,8 @@ void refreshtheDisplay() { u8x8.setInverseFont(1); u8x8.printf("%-2s", msgWaiting == SEND_QUEUE_SIZE ? "<>" : buff); u8x8.setInverseFont(0); - } + } else + u8x8.printf(" "); #endif // HAS_LORA