Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Diff: Sensors/GPS/Sirf3.cpp
- Revision:
- 23:a34af501ea89
- Parent:
- 2:fbc6e3cf3ed8
--- a/Sensors/GPS/Sirf3.cpp Thu Nov 29 19:45:49 2018 +0000 +++ b/Sensors/GPS/Sirf3.cpp Fri Nov 30 15:41:05 2018 +0000 @@ -28,7 +28,7 @@ { reset_available(); setBaud(4800); - serial.attach(this, &Sirf3::recv_handler, Serial::RxIrq); + serial.attach(callback(this, &Sirf3::recv_handler), Serial::RxIrq); } void Sirf3::disable(void)