File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11name =Dynamixel2Arduino
2- version =0.4.2
2+ version =0.4.3
33author =ROBOTIS
44license =Apache-2.0
55
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ enum DXL2_0PacketError{
6565 DXL2_0_ERR_ACCESS
6666};
6767
68+ // To support legacy
69+ #define DXL_ERR_ACCESS DXL2_0_ERR_ACCESS
70+
6871enum DXL1_0PacketState {
6972 DXL1_0_PACKET_PARSING_STATE_IDLE = 0 ,
7073 DXL1_0_PACKET_PARSING_STATE_ID ,
Original file line number Diff line number Diff line change @@ -74,7 +74,10 @@ class SerialPortHandler : public DXLPortHandler
7474 #define USB_SERIAL_CLASS UARTClass
7575#elif defined(ARDUINO_AVR_LEONARDO)
7676 // Arduino Leonardo USB Serial Port
77- #define USB_SERIAL_CLASS Serial_
77+ #define USB_SERIAL_CLASS Serial_
78+ #elif defined(ARDUINO_CommXEL)
79+ #include " USBSerial.h"
80+ #define USB_SERIAL_CLASS USBSerial
7881#else
7982 #define USB_SERIAL_CLASS HardwareSerial
8083#endif
You can’t perform that action at this time.
0 commit comments