Skip to content

Commit eec7901

Browse files
author
Kei
authored
Merge pull request #33 from ROBOTIS-GIT/develop
Release 0.4.3
2 parents 497559c + afc400c commit eec7901

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Dynamixel2Arduino
2-
version=0.4.2
2+
version=0.4.3
33
author=ROBOTIS
44
license=Apache-2.0
55
maintainer=Kei([email protected])

src/dxl_c/protocol.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
6871
enum DXL1_0PacketState{
6972
DXL1_0_PACKET_PARSING_STATE_IDLE = 0,
7073
DXL1_0_PACKET_PARSING_STATE_ID,

src/utility/port_handler.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)