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
|
@ -10,6 +10,10 @@
|
|||
#include <inttypes.h>
|
||||
#include <platform/dma_ll.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct dmainfo_t {
|
||||
DMA_TypeDef *dma;
|
||||
uint32_t stream;
|
||||
|
@ -32,4 +36,8 @@ uint32_t Dma_GetFeMask(uint32_t stream);
|
|||
|
||||
void Dma_Init(struct dmainfo_t *info, DMA_TypeDef *dma, uint32_t stream);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DMA_HELPER_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue