summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-18 15:55:32 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-18 15:55:32 -0600
commit8167e5ad0453f2e6855f9622c2acddb9cf55c941 (patch)
tree3e8a2ab1198c174f65e7d055c854f59017a27c24 /main.cpp
parentd48510e9c3a57753ff4b33b00e0c61a2b39ff9a1 (diff)
downloadmtdot-box-evb-factory-firmware-8167e5ad0453f2e6855f9622c2acddb9cf55c941.tar.gz
mtdot-box-evb-factory-firmware-8167e5ad0453f2e6855f9622c2acddb9cf55c941.tar.bz2
mtdot-box-evb-factory-firmware-8167e5ad0453f2e6855f9622c2acddb9cf55c941.zip
get things building again - remove config code in main, fix bug in ModeJoin
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp17
1 files changed, 0 insertions, 17 deletions
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();