add MSG_SET_LINEAR_COUNT back again at 0x19

This commit is contained in:
Oskar Weigl
2021-06-29 11:57:13 -07:00
parent f9a3a3f338
commit 7ba08af710
2 changed files with 4 additions and 0 deletions
@@ -141,6 +141,9 @@ void CANSimple::do_command(Axis& axis, const can_Message_t& msg) {
case MSG_CLEAR_ERRORS:
clear_errors_callback(axis, msg);
break;
case MSG_SET_LINEAR_COUNT:
set_linear_count_callback(axis, msg);
break;
default:
break;
}
@@ -32,6 +32,7 @@ class CANSimple {
MSG_RESET_ODRIVE,
MSG_GET_VBUS_VOLTAGE,
MSG_CLEAR_ERRORS,
MSG_SET_LINEAR_COUNT,
MSG_CO_HEARTBEAT_CMD = 0x700, // CANOpen NMT Heartbeat SEND
};