Skip to content

Commit 8c2fdd0

Browse files
committed
Bugfix - including 'NANO_Compat.h' within 'Arduino.h' if 'AVR_NANO_4809_328MODE' is defined
1 parent 7df9f21 commit 8c2fdd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/arduino/Arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ bool isDoubleBondedActive(uint8_t pin);
143143
#ifdef UNO_WIFI_REV2_328MODE
144144
#include <UNO_compat.h>
145145
#endif
146+
#ifdef AVR_NANO_4809_328MODE
147+
#include <NANO_Compat.h>
148+
#endif
146149
#if defined(HAVE_HWSERIAL0) && defined(HAVE_CDCSERIAL)
147150
#error "Targets with both UART0 and CDC serial not supported"
148151
#endif

0 commit comments

Comments
 (0)