![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Diff: main.cpp
- Revision:
- 39:465213249f71
- Parent:
- 38:6fec81f85221
- Child:
- 42:8d99f64f5898
--- a/main.cpp Wed Jan 02 18:40:29 2019 +0000 +++ b/main.cpp Wed Jan 02 18:41:52 2019 +0000 @@ -121,8 +121,7 @@ ublox.read(d.latitude, d.longitude, d.course, d.speed, d.hdop, d.svcount); d.timestamp = Kernel::get_ms_count(); logQueue.call(&logger, &Logger::log_gps, d); - //lcdQueue.call(&display, &Display::gps, d); - display.gps(d); + lcdQueue.call(&display, &Display::gps, d); } // ISR for GPS serial, passes off to thread @@ -279,7 +278,7 @@ } printf("Starting display...\n"); - Thread lcdThread(osPriorityLow, 2048, 0, "lcd"); + Thread lcdThread(osPriorityNormal, 2048, 0, "lcd"); lcdThread.start(callback(&lcdQueue, &EventQueue::dispatch_forever)); printf("Starting buttons...\n");