Skip to content

Commit e052572

Browse files
committed
[Fix] Fixed bit orientation for HardwareErrorCode identifier
Signed-off-by: Jonghee Son <zzongaone@gmail.com>
1 parent 43a0622 commit e052572

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Dynamixel2Arduino.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ enum D2ALibErrorCode
5050

5151
enum HardwareErrorCode
5252
{
53-
INPUT_VOLTAGE_ERROR = 0x80,
54-
OVERHEATING_ERROR = 0x20,
55-
MOTOR_ENCODER_ERROR = 0x10,
56-
ELECTRICAL_SHOCK_ERROR = 0x08,
57-
OVERLOAD_ERROR = 0x04
53+
INPUT_VOLTAGE_ERROR = 0x01,
54+
OVERHEATING_ERROR = 0x04,
55+
MOTOR_ENCODER_ERROR = 0x08,
56+
ELECTRICAL_SHOCK_ERROR = 0x10,
57+
OVERLOAD_ERROR = 0x20
5858
};
5959

6060
enum DYErrorCode

0 commit comments

Comments
 (0)