canuck lehead / lib_gps

Dependents:   Senet NAMote

Fork of lib_gps by wayne roberts

Revision:
8:7787d0060685
Parent:
7:44cb21f05dcc
Child:
10:007840923181
--- a/gps.cpp	Thu Apr 21 11:02:59 2016 -0400
+++ b/gps.cpp	Mon Jul 24 10:27:32 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);
 }