No change in memory
pull/286/head
Guðni Már Gilbert 2023-07-23 19:01:01 +00:00
parent f6b8b99a75
commit 2676e063c1
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ inline ErrorCode &operator|=(ErrorCode &a, ErrorCode b) {
}
inline ErrorCode operator<<(ErrorCode a, uint8_t b) {
return a = (ErrorCode)((uint16_t)a << (uint16_t)b);
return a = (ErrorCode)((uint16_t)a << b);
}
static ErrorCode TMC2130ToErrorCode(const hal::tmc2130::ErrorFlags &ef) {