Skip to content

Commit 6f10852

Browse files
committed
Fix: Only compile for CANFD boards (as the H33).
Former-commit-id: a99256b
1 parent f070dac commit 6f10852

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/CAN/src/canfd.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifdef ARDUINO_PORTENTA_H33
2+
13
#include "bsp_api.h"
24
#include "hal_data.h"
35

@@ -46,3 +48,5 @@ extern const canfd_afl_entry_t p_canfd1_afl[CANFD_CFG_AFL_CH1_RULE_NUM] = {
4648
}
4749
}
4850
};
51+
52+
#endif /* ARDUINO_PORTENTA_H33 */

0 commit comments

Comments
 (0)