canuck lehead / lib_gps

Dependents:   Senet NAMote

Fork of lib_gps by wayne roberts

Revision:
9:c7bd750b4fc9
Parent:
7:44cb21f05dcc
Child:
10:007840923181
diff -r 44cb21f05dcc -r c7bd750b4fc9 gps.cpp
--- a/gps.cpp	Thu Apr 21 11:02:59 2016 -0400
+++ b/gps.cpp	Mon Jul 24 10:54:40 2017 -0400
@@ -80,7 +80,7 @@
     rx_bufs_out_idx = 0;
 
     //gps_uart.baud(57600);
-    m_uart.attach(this, &GPS::on_uart_rx);
+    m_uart.attach(mbed::callback(this, &GPS::on_uart_rx));
 
     //pps_pin.rise(this, &GPS::pps);
 }