nsp specific components for the NSP version of the impact endpoint
Dependents: mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp
Diff: MBEDEndpoint.cpp
- Revision:
- 15:a0eae7ab1e59
- Parent:
- 14:07b77fbb1985
- Child:
- 16:6936310c9501
--- a/MBEDEndpoint.cpp Wed Apr 02 04:44:03 2014 +0000 +++ b/MBEDEndpoint.cpp Thu Apr 03 02:01:36 2014 +0000 @@ -56,7 +56,7 @@ this->m_cellular_modem = NULL; this->m_gps = NULL; if (success) success = this->initializeCellularModem(transports,pinouts); - if (success) success = this->initializeGPSReceiver(); + if (success) success = this->initializeGPSReceiver(pinouts); #else if (success) success = this->initializeEthernet((EthernetInterface *)transports); #endif @@ -217,11 +217,11 @@ return success; } - bool MBEDEndpoint::initializeGPSReceiver() { + bool MBEDEndpoint::initializeGPSReceiver(void *pinouts) { bool success = false; // initialize - if (this->m_gps == NULL) this->m_gps = new MBEDUbloxGPS(this->logger(),this); + if (this->m_gps == NULL) this->m_gps = new MBEDUbloxGPS(this->logger(),this,(C027 *)pinouts); if (this->m_gps != NULL) success = this->m_gps->connect(); // return our status