mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 06:33:00 +00:00
include/nuttx/can.h: include nuttx/config.h
This commit is contained in:
parent
649619b8f8
commit
43ddcd5277
1 changed files with 5 additions and 3 deletions
|
|
@ -18,13 +18,15 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_CAN_CAN_H
|
||||
#define __INCLUDE_NUTTX_CAN_CAN_H
|
||||
#ifndef __INCLUDE_NUTTX_CAN_H
|
||||
#define __INCLUDE_NUTTX_CAN_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#ifdef CONFIG_CAN_TXREADY
|
||||
# include <nuttx/wqueue.h>
|
||||
#endif
|
||||
|
|
@ -307,4 +309,4 @@ extern "C"
|
|||
#endif
|
||||
|
||||
#endif /* CONFIG_CAN */
|
||||
#endif /* __INCLUDE_NUTTX_CAN_CAN_H */
|
||||
#endif /* __INCLUDE_NUTTX_CAN_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue