mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
include/nuttx/can.h: remove dependency on CONFIG_NET_CAN
Remove dependency on CONFIG_NET_CAN for socketCAN definitions. Definitions from this file are also used by arch/sim CAN implementation, which is based on a host socketCAN interface. With this change CONFIG_NET and CONFIG_NET_CAN don't need to be enabled to support CAN character driver on sim. Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
#include <sys/socket.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef CONFIG_NET_CAN
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -383,5 +381,4 @@ extern "C"
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_CAN */
|
||||
#endif /* __INCLUDE_NUTTX_CAN_H */
|
||||
|
||||
Reference in New Issue
Block a user