enabled more GCC warnings #174

Merged
meierj merged 3 commits from mueller/additional-gcc-warnings into develop 2022-03-08 10:12:48 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 10a2973dc7 - Show all commits

2
fsfw

@ -1 +1 @@
Subproject commit 8b1c277c58b608db34bf221a1a79469a809ecbda Subproject commit 84f95e8d7641be7a83faf1cbee718c6cc5de152d

View File

@ -672,7 +672,7 @@ ReturnValue_t StarTrackerHandler::isModeCombinationValid(Mode_t mode, Submode_t
return INVALID_SUBMODE; return INVALID_SUBMODE;
} }
default: default:
return HasModesIF::MOVE_IS_INVALID; return HasModesIF::INVALID_MODE;
} }
} }

View File

@ -42,7 +42,7 @@ ReturnValue_t ThermalController::checkModeCommand(Mode_t mode, Submode_t submode
return INVALID_SUBMODE; return INVALID_SUBMODE;
} }
if ((mode != MODE_OFF) && (mode != MODE_ON) && (mode != MODE_NORMAL)) { if ((mode != MODE_OFF) && (mode != MODE_ON) && (mode != MODE_NORMAL)) {
return MOVE_IS_INVALID; return INVALID_MODE;
} }
return RETURN_OK; return RETURN_OK;
} }