diff options
author | Leon Lindenfelser <llindenfelser@multitech.com> | 2015-11-20 16:21:44 -0600 |
---|---|---|
committer | Leon Lindenfelser <llindenfelser@multitech.com> | 2015-11-20 16:21:44 -0600 |
commit | 4ea46cbfee73c43579ea657cabc7f1fc7de97874 (patch) | |
tree | 96c7451f54600d847e7d0231090bb79d02f0ac50 /main.cpp | |
parent | 393317f7d04753d6e9773393a96c311a88a27f7b (diff) | |
download | mtdot-box-evb-factory-firmware-4ea46cbfee73c43579ea657cabc7f1fc7de97874.tar.gz mtdot-box-evb-factory-firmware-4ea46cbfee73c43579ea657cabc7f1fc7de97874.tar.bz2 mtdot-box-evb-factory-firmware-4ea46cbfee73c43579ea657cabc7f1fc7de97874.zip |
1. Merged CommandTerminal into ModeConfig and deleted CommandTerminal.
2. Fixed AT&V output.
3. Cleaned up some unused code.
4. Added +FREQ back in.
5. Removed CmdExit and put the +EXIT command right in the command parsing code.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -52,6 +52,8 @@ ModeConfig* modeConfig; // Serial debug port Serial debug(USBTX, USBRX); +// Config mode serial port. +mts::MTSSerial serial(USBTX, USBRX, 512, 512); // Prototypes void mainMenu(); @@ -73,7 +75,7 @@ int main() { lora = new LoRaHandler(main_id); modeJoin = new ModeJoin(lcd, buttons, dot, lora, dot->getFrequencyBand()); - modeConfig = new ModeConfig(lcd, buttons, dot); + modeConfig = new ModeConfig(lcd, serial, dot, buttons); // display startup screen for 3 seconds LayoutStartup ls(lcd); |