Skip to content

Commit 57f3763

Browse files
committed
autosync
1 parent 009a341 commit 57f3763

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ODriveEnums.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum ODriveStreamProtocolType {
3535

3636
// ODrive.Can.Protocol
3737
enum ODriveProtocol {
38+
PROTOCOL_NONE = 0x00000000,
3839
PROTOCOL_SIMPLE = 0x00000001,
3940
};
4041

@@ -195,6 +196,9 @@ enum ODriveMotorType {
195196
enum ODriveCanError {
196197
CAN_ERROR_NONE = 0x00000000,
197198
CAN_ERROR_DUPLICATE_CAN_IDS = 0x00000001,
199+
CAN_ERROR_BUS_OFF = 0x00000002,
200+
CAN_ERROR_LOW_LEVEL = 0x00000004,
201+
CAN_ERROR_PROTOCOL_INIT = 0x00000008,
198202
};
199203

200204
#endif

0 commit comments

Comments
 (0)