We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9adfb6a commit 1b4da44Copy full SHA for 1b4da44
cores/arduino/stm32/dma.c
@@ -38,6 +38,11 @@
38
#include <stddef.h>
39
#include "dma.h"
40
41
+#ifdef __cplusplus
42
+extern "C" {
43
+#endif
44
+#if defined(HAL_DMA_MODULE_ENABLED)
45
+
46
#define NC -1
47
48
typedef enum
@@ -368,3 +373,9 @@ void DMA2_Channel8_IRQHandler() {
368
373
HAL_DMA_IRQHandler(dma_handles[DMA2_CHANNEL8_INDEX]);
369
374
}
370
375
#endif
376
377
+#endif /* HAL_DMA_MODULE_ENABLED */
378
379
380
+}
381
0 commit comments