c++ "guards" to all includes, configuring c++ include paths

This commit is contained in:
Attila Body 2019-11-22 15:24:36 +01:00
parent c161274d31
commit 683cf43f4b
5 changed files with 43 additions and 3 deletions

View file

@ -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_ */