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

@ -5,16 +5,24 @@
* Author: abody
*/
#ifndef INTERRUPT_HANDLERS_H_
#define INTERRUPT_HANDLERS_H_
#ifndef CONSOLEHANDLER_H_
#define CONSOLEHANDLER_H_
#include "usart.h"
#include "f4ll_c/dmahelper.h"
#include "f4ll_c/packetusart.h"
#ifdef __cplusplus
extern "C" {
#endif
void Con_HandleTxDmaIrq(struct dmainfo_t *info, USART_TypeDef *usart);
void Con_HandleUsartIrq(USART_TypeDef *usart);
void Con_PrintStats(char *buffer, uint8_t id, struct usart_stats *stats, USART_TypeDef *usart, struct dmainfo_t *dmaInfo);
#endif /* INTERRUPT_HANDLERS_H_ */
#ifdef __cplusplus
}
#endif
#endif /* CONSOLEHANDLER_H_ */