better naming for parameter

This commit is contained in:
Robin Müller 2021-10-07 10:44:44 +02:00
parent 85a90a6ec5
commit 76416f523d
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

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;
}
};