Skip to content

Commit 88ee229

Browse files
committed
Fix for Arduino Uno R4 build error
1 parent 516205f commit 88ee229

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/actuator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#define DXL_TORQUE_ON 1
88
#define DXL_TORQUE_OFF 0
99

10+
#if defined(ARDUINO_UNOR4_WIFI) || defined(ARDUINO_MINIMA)
11+
#undef LED_RED
12+
#undef LED_BLUE
13+
#endif
14+
1015
// The reason for checking #ifndef here is to avoid conflict with Dynamixel SDK.
1116
#ifndef AX12A
1217
#define AX12A (uint16_t)12

0 commit comments

Comments
 (0)