Skip to content

Commit 317fcb4

Browse files
committed
Amend compile time check to include GIGA.
1 parent 55ed9a8 commit 317fcb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Arduino_CAN/src/Arduino_CAN.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* COMPILE TIME CHECKS
2525
**************************************************************************************/
2626

27-
#if !(defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4))
28-
# error "CAN only available on Arduino Portenta H7 (of all ArduinoCore-mbed enabled boards)."
27+
#if !(defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_GIGA))
28+
# error "CAN only available on Arduino Portenta H7 and Arduino Giga (of all ArduinoCore-mbed enabled boards)."
2929
#endif
3030

3131
/**************************************************************************************

0 commit comments

Comments
 (0)