From 8167e5ad0453f2e6855f9622c2acddb9cf55c941 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Wed, 18 Nov 2015 15:55:32 -0600 Subject: get things building again - remove config code in main, fix bug in ModeJoin --- main.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 5b9cbde..9b9b165 100644 --- a/main.cpp +++ b/main.cpp @@ -4,7 +4,6 @@ // MTS headers #include "mDot.h" #include "MTSLog.h" -#include "MTSText.h" // sensor headers #include "ISL29011.h" #include "MMA845x.h" @@ -53,8 +52,6 @@ ModeJoin* modeJoin; Serial debug(USBTX, USBRX); mts::MTSSerial serial(USBTX, USBRX, 512, 512); - - // Prototypes void mainMenu(); void join(); @@ -124,20 +121,6 @@ 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(); -- cgit v1.2.3