No change in memory
pull/288/head
Guðni Már Gilbert 2023-07-23 19:01:01 +00:00 committed by DRracer
parent 5293547094
commit 169925fc9f
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) { 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) { static ErrorCode TMC2130ToErrorCode(const hal::tmc2130::ErrorFlags &ef) {