Added missing check for CO_NO_TIME definition to CANopen.h (#233)
This commit is contained in:
parent
010c6ae6a1
commit
05b488c45c
1 changed files with 2 additions and 0 deletions
|
|
@ -268,7 +268,9 @@ typedef struct {
|
|||
#if CO_NO_SYNC == 1 || defined CO_DOXYGEN
|
||||
CO_SYNC_t *SYNC; /**< SYNC object */
|
||||
#endif
|
||||
#if CO_NO_TIME == 1 || defined CO_DOXYGEN
|
||||
CO_TIME_t *TIME; /**< TIME object */
|
||||
#endif
|
||||
CO_RPDO_t *RPDO[CO_NO_RPDO]; /**< RPDO objects */
|
||||
CO_TPDO_t *TPDO[CO_NO_TPDO]; /**< TPDO objects */
|
||||
CO_HBconsumer_t *HBcons; /**< Heartbeat consumer object*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue