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 13f43cc commit 02b5737Copy full SHA for 02b5737
targets/TARGET_STM/can_api.c
@@ -24,7 +24,13 @@
24
#include "PeripheralPins.h"
25
#include "mbed_error.h"
26
27
+// Some STM32G4 series (and others) have 3 FDCAN devices
28
+// while others have 2
29
+#ifdef FDCAN3
30
+static uintptr_t can_irq_contexts[3] = {0};
31
+#else
32
static uintptr_t can_irq_contexts[2] = {0};
33
+#endif
34
static can_irq_handler irq_handler;
35
36
/** Call all the init functions
0 commit comments