Merge pull request 'better naming for parameter' (#499) from KSat/fsfw:mueller/retval-better-naming into development

Reviewed-on: fsfw/fsfw#499
This commit is contained in:
Ulrich Mohr 2021-10-08 12:58:43 +02:00
commit 27a3598526

View File

@ -22,9 +22,9 @@ public:
* @param number
* @return
*/
static constexpr ReturnValue_t makeReturnCode(uint8_t interfaceId,
static constexpr ReturnValue_t makeReturnCode(uint8_t classId,
uint8_t number) {
return (static_cast<ReturnValue_t>(interfaceId) << 8) + number;
return (static_cast<ReturnValue_t>(classId) << 8) + number;
}
};