1
0
Fork 0

Added missing check for CO_NO_TIME definition to CANopen.h (#233)

This commit is contained in:
Miles Simpson 2020-10-05 23:10:04 -07:00 committed by GitHub
parent 010c6ae6a1
commit 05b488c45c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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