if gpssmm cant be opened, return prematurely

This commit is contained in:
Robin Müller 2022-04-17 01:06:37 +02:00
parent a14af7f728
commit d3403d341f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -112,6 +112,7 @@ void GPSHyperionLinuxController::readGpsDataFromGpsd() {
#if FSFW_VERBOSE_LEVEL >= 1
sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: Opening GPSMM failed" << std::endl;
#endif
return;
}
gps_data_t *gps = nullptr;
gps = myGpsmm.read();