var name clarification

This commit is contained in:
Robin Müller 2021-08-02 12:49:40 +02:00
parent 54c028f913
commit b6e243b8b3
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

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