canuck lehead / lib_gps

Dependents:   Senet NAMote

Fork of lib_gps by wayne roberts

Revision:
11:caeed886e2ed
Parent:
10:007840923181
Child:
12:f1b3d656125e
--- a/gps.cpp	Mon Jul 24 10:56:33 2017 -0400
+++ b/gps.cpp	Mon Jul 24 10:58:48 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(callback(this, &GPS::on_uart_rx));
 
     //pps_pin.rise(this, &GPS::pps);
 }