MGM calibration fix #357
@ -426,7 +426,7 @@ ReturnValue_t AcsController::checkModeCommand(Mode_t mode, Submode_t submode,
|
||||
return INVALID_SUBMODE;
|
||||
}
|
||||
} else if ((mode == MODE_ON) || (mode == MODE_NORMAL)) {
|
||||
if ((submode > 6) || (submode < 2)) {
|
||||
if ((submode > acs::PTG_TARGET_INERTIAL) || (submode < acs::SAFE)) {
|
||||
return INVALID_SUBMODE;
|
||||
} else {
|
||||
return returnvalue::OK;
|
||||
|
Loading…
Reference in New Issue
Block a user