gps handler working properly now
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2021-09-06 12:07:15 +02:00
parent f97d5df75f
commit 45409fc2d6
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 2 additions and 10 deletions

2
fsfw

@ -1 +1 @@
Subproject commit 469eba3ce2f82c7b2fcdd494d4ac279eef308195 Subproject commit 924c150af27484f9eb4439ec80c048b46c226890

View File

@ -110,6 +110,7 @@ ReturnValue_t GPSHyperionHandler::scanForReply(const uint8_t *start, size_t len,
} }
} }
*foundLen = len; *foundLen = len;
*foundId = GpsHyperion::GPS_REPLY;
} }
return HasReturnvaluesIF::RETURN_OK; return HasReturnvaluesIF::RETURN_OK;
@ -153,13 +154,4 @@ void GPSHyperionHandler::modeChanged() {
void GPSHyperionHandler::debugInterface(uint8_t positionTracker, object_id_t objectId, void GPSHyperionHandler::debugInterface(uint8_t positionTracker, object_id_t objectId,
uint32_t parameter) { uint32_t parameter) {
if(positionTracker == 0) {
sif::debug << "state machine, mode " << parameter << std::endl;
}
else if(positionTracker == 1) {
sif::debug << "ALIVE" << std::endl;
}
if(positionTracker == 5) {
(void) positionTracker;
}
} }