include/nuttx/can.h: include nuttx/config.h

This commit is contained in:
raiden00pl 2021-12-30 09:55:15 +01:00 committed by Gustavo Henrique Nihei
parent 649619b8f8
commit 43ddcd5277

View File

@ -18,13 +18,15 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_NUTTX_CAN_CAN_H #ifndef __INCLUDE_NUTTX_CAN_H
#define __INCLUDE_NUTTX_CAN_CAN_H #define __INCLUDE_NUTTX_CAN_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h>
#ifdef CONFIG_CAN_TXREADY #ifdef CONFIG_CAN_TXREADY
# include <nuttx/wqueue.h> # include <nuttx/wqueue.h>
#endif #endif
@ -307,4 +309,4 @@ extern "C"
#endif #endif
#endif /* CONFIG_CAN */ #endif /* CONFIG_CAN */
#endif /* __INCLUDE_NUTTX_CAN_CAN_H */ #endif /* __INCLUDE_NUTTX_CAN_H */