1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

Modules/GPS: Assert buffer creation

This commit is contained in:
Corvus Corax 2011-08-25 15:11:29 +02:00
parent dfdea16065
commit 7e396efbbf

View File

@ -119,6 +119,7 @@ int32_t GPSInitialize(void)
gpsPort = PIOS_COM_GPS;
gps_rx_buffer = pvPortMalloc(NMEA_MAX_PACKET_LENGTH);
PIOS_ASSERT(gps_rx_buffer);
return 0;
}