t3
Fork of C027_Support by
Diff: GPS.cpp
- Revision:
- 140:a74a4445159d
- Parent:
- 95:8282dbbe1492
--- a/GPS.cpp Fri Sep 23 11:39:03 2016 +0000 +++ b/GPS.cpp Mon Dec 12 11:05:33 2016 +0000 @@ -245,6 +245,7 @@ _onboard = (tx == GPSTXD) || (rx == GPSRXD); if (_onboard) c027_gps_powerOn(); + printf("GPS Serial\r\n"); #endif } @@ -259,6 +260,7 @@ bool GPSSerial::init(PinName pn) { + printf("GPS Serial INIT\r\n"); // send a byte to wakup the device again putc(0xFF); // wait until we get some bytes @@ -295,6 +297,7 @@ _onboard = (sda == GPSSDA) && (scl == GPSSCL); if (_onboard) c027_gps_powerOn(); + printf("GPS I2C\r\n"); #endif } @@ -309,6 +312,7 @@ bool GPSI2C::init(PinName pn) { + printf("GPS I2C Init\r\n"); if (pn != NC) { DigitalOut pin(pn, 0); ::wait_us(1);