You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enums in C are forced to be ints. However, the custom ID types in can_command_list.h such as PowerLineID are meant to be a single byte in width. To rectify this, custom ID types should be typedef'd to uint8_t. The enum keys can become #defines instead.
The text was updated successfully, but these errors were encountered:
Enums in C are forced to be
int
s. However, the custom ID types incan_command_list.h
such as PowerLineID are meant to be a single byte in width. To rectify this, custom ID types should betypedef
'd touint8_t
. The enum keys can become#define
s instead.The text was updated successfully, but these errors were encountered: