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:
parent
dfdea16065
commit
7e396efbbf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user