From 52bc86ff4e20e155cfa2411225b3f8c81c769cd1 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Fri, 8 Jan 2016 10:05:28 -0600 Subject: display frequency band (868 or 915) on splash screen and main menu --- main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 340f567..b22def3 100644 --- a/main.cpp +++ b/main.cpp @@ -112,6 +112,9 @@ int main() { void mainMenu() { bool mode_selected = false; std::string selected; + std::string product = "MTDOT-BOX/EVB "; + + product += mDot::FrequencyBandStr(dot->getFrequencyBand()).substr(3); typedef enum { demo = 2, @@ -121,7 +124,7 @@ void mainMenu() { } menu_items; std::string menu_strings[] = { - "MultiTech EVB", + product, "Select Mode", "LoRa Demo", "Configuration", -- cgit v1.2.3