Fix issue with dynamic pdo
parent
563a7c823e
commit
49face20a8
|
@ -36,8 +36,8 @@
|
|||
#define MAX_TXPDO_SIZE 128
|
||||
|
||||
#if DYN_PDO_MAPPING
|
||||
#define MAX_MAPPINGS_SM2 1
|
||||
#define MAX_MAPPINGS_SM3 1
|
||||
#define MAX_MAPPINGS_SM2 MAX_RXPDO_SIZE
|
||||
#define MAX_MAPPINGS_SM3 MAX_TXPDO_SIZE
|
||||
#else
|
||||
#define MAX_MAPPINGS_SM2 0
|
||||
#define MAX_MAPPINGS_SM3 0
|
||||
|
|
Loading…
Reference in New Issue