GNSS ACS board update #92
2
fsfw
2
fsfw
Submodule fsfw updated: 924c150af2...73eb11f4f1
1
generators/.gitignore
vendored
Normal file
1
generators/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.~lock*
|
@ -52,6 +52,8 @@ ReturnValue_t GPSHyperionHandler::buildNormalDeviceCommand(DeviceCommandId_t *id
|
|||||||
ReturnValue_t GPSHyperionHandler::buildCommandFromCommand(
|
ReturnValue_t GPSHyperionHandler::buildCommandFromCommand(
|
||||||
DeviceCommandId_t deviceCommand, const uint8_t *commandData,
|
DeviceCommandId_t deviceCommand, const uint8_t *commandData,
|
||||||
size_t commandDataLen) {
|
size_t commandDataLen) {
|
||||||
|
// By default, send nothing
|
||||||
|
rawPacketLen = 0;
|
||||||
switch(deviceCommand) {
|
switch(deviceCommand) {
|
||||||
case(GpsHyperion::TRIGGER_RESET_PIN): {
|
case(GpsHyperion::TRIGGER_RESET_PIN): {
|
||||||
if(resetCallback != nullptr) {
|
if(resetCallback != nullptr) {
|
||||||
@ -181,6 +183,7 @@ ReturnValue_t GPSHyperionHandler::initializeLocalDataPool(
|
|||||||
void GPSHyperionHandler::fillCommandAndReplyMap() {
|
void GPSHyperionHandler::fillCommandAndReplyMap() {
|
||||||
// Reply length does not matter, packets should always arrive periodically
|
// Reply length does not matter, packets should always arrive periodically
|
||||||
insertInReplyMap(GpsHyperion::GPS_REPLY, 4, &gpsSet, 0, true);
|
insertInReplyMap(GpsHyperion::GPS_REPLY, 4, &gpsSet, 0, true);
|
||||||
|
insertInCommandMap(GpsHyperion::TRIGGER_RESET_PIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPSHyperionHandler::modeChanged() {
|
void GPSHyperionHandler::modeChanged() {
|
||||||
|
2
tmtc
2
tmtc
Submodule tmtc updated: d84c6a7e70...cce04cc163
Reference in New Issue
Block a user