include/nuttx/can.h: make SocketCAN error definitions always available

This commit is contained in:
raiden00pl 2022-01-22 17:17:51 +01:00 committed by Xiang Xiao
parent 6c27f3c19d
commit 7d39642561

View File

@ -210,8 +210,6 @@
/* CAN Error Indications ****************************************************/
#ifdef CONFIG_NET_CAN_ERRORS
/* Error class in can_id */
#define CAN_ERR_TXTIMEOUT (1 << 0) /* Bit 0: TX timeout */
@ -283,7 +281,6 @@
/* Data[4]: Error status of CAN-transceiver */
#define CAN_ERR_TRX_UNSPEC 0x00 /* Unspecified error */
#endif /* CONFIG_NET_CAN_ERRORS */
/****************************************************************************
* Public Types