summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-23 14:16:44 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-23 14:16:44 -0600
commitb30884816bd4af4e435c265d0e061c900e25ae88 (patch)
tree1f2a511c31340b9d9b119b62dade9df6b3193747 /main.cpp
parente1736be283e3da3df63e9d29c9382c076e59f80e (diff)
downloadmtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.tar.gz
mtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.tar.bz2
mtdot-box-evb-factory-firmware-b30884816bd4af4e435c265d0e061c900e25ae88.zip
display product id on startup screen, change baud rates to 115k, set log level to trace
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index c1c7f6d..c63f922 100644
--- a/main.cpp
+++ b/main.cpp
@@ -61,7 +61,7 @@ void surveySingle();
void surveySweep();
int main() {
- debug.baud(460800);
+ debug.baud(115200);
lcd = new DOGS102(lcd_spi, lcd_spi_cs, lcd_cd);
lcd_backlight = new NCP5623B(backlight_i2c);
@@ -76,12 +76,11 @@ int main() {
modeConfig = new ModeConfig(lcd, buttons, dot, lora);
// display startup screen for 3 seconds
- LayoutStartup ls(lcd);
+ LayoutStartup ls(lcd, dot);
ls.display();
osDelay(3000);
- //MTSLog::setLogLevel(MTSLog::TRACE_LEVEL);
- MTSLog::setLogLevel(MTSLog::INFO_LEVEL);
+ MTSLog::setLogLevel(MTSLog::TRACE_LEVEL);
logInfo("displaying main menu");
mainMenu();