c++ "guards" to all includes, configuring c++ include paths
This commit is contained in:
parent
c161274d31
commit
683cf43f4b
5 changed files with 43 additions and 3 deletions
|
@ -12,6 +12,10 @@
|
|||
|
||||
#include "f4ll_c/dmahelper.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct usart_buffer_t;
|
||||
struct usartstatus_t;
|
||||
|
||||
|
@ -139,4 +143,8 @@ static inline void StatsAddSkiped(struct usart_stats *s, uint8_t cnt) {
|
|||
#define StatsAddSkiped(x)
|
||||
#endif // USART_STATS_DISABLED
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* UART_HANDLER_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue