summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index e02deb4..5b9cbde 100644
--- a/main.cpp
+++ b/main.cpp
@@ -51,6 +51,9 @@ ModeJoin* modeJoin;
// Serial debug port
Serial debug(USBTX, USBRX);
+mts::MTSSerial serial(USBTX, USBRX, 512, 512);
+
+
// Prototypes
void mainMenu();
@@ -121,6 +124,20 @@ void mainMenu() {
items.push_back(menu_strings[single]);
items.push_back(menu_strings[sweep]);
+
+
+ mDot* dot = mDot::getInstance();
+ if(dot){
+ logInfo("dot created");
+ CommandTerminal term(serial, dot);
+ term.start();
+ }
+ else {
+ logInfo("Radio Init Failed!");
+ }
+
+
+
while (true) {
LayoutScrollSelect menu(lcd, items, menu_strings[0], menu_strings[1]);
menu.display();