Fix issue with dynamic pdo

pull/165/head
iwoodsawyer 2021-05-18 13:01:56 -07:00
parent 563a7c823e
commit 49face20a8
1 changed files with 2 additions and 2 deletions

View File

@ -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