Skip to content

Commit 2fbc80f

Browse files
committed
Increase CONTROL_ITEM_MAX for OpenCR
1 parent 39f8ff0 commit 2fbc80f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/utility/slave.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
#include "port_handler.h"
2222
#include "config.h"
2323

24+
#ifdef __OPENCR__
25+
#define CONTROL_ITEM_MAX 128
26+
#else
2427
#define CONTROL_ITEM_MAX 64
28+
#endif
2529
#define CONTROL_ITEM_ADDR_LIMIT (DEFAULT_DXL_BUF_LENGTH-11)
2630

2731

0 commit comments

Comments
 (0)