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

@ -17,6 +17,10 @@
#include <platform/crc_ll.h>
#include <f4ll_c/dmahelper.h>
#ifdef __cplusplus
extern "C" {
#endif
struct crcslottask_t {
void * volatile address;
uint16_t wordCount;
@ -61,4 +65,8 @@ void Crc_ComputeAsync(struct crcstatus_t *status, uint8_t slot,
void (*callback)(void*, uint32_t, uint8_t), void* callbackParam);
void Crc_HandleDmaIrq(struct crcstatus_t *status);
#ifdef __cplusplus
}
#endif
#endif /* CRC_HANDLER_H_ */