Skip to content

Commit 062360d

Browse files
committed
src/AceTime.h: Blacklist all other platforms using ArduinoCore-API (e.g. RaspberryPi Pico) to avoid future tickets
1 parent e14cea8 commit 062360d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AceTime.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@
2222
// >= 1.8.10. Boards using arduino:samd <= 1.8.9 or SparkFun:samd are fine.
2323
#if defined(ARDUINO_ARCH_MEGAAVR)
2424
#error MegaAVR not supported, https://github.com/bxparks/AceTime/issues/44
25+
2526
#elif defined(ARDUINO_ARCH_SAMD) && defined(ARDUINO_API_VERSION)
2627
#error SAMD21 with arduino:samd >= 1.8.10 not supported, https://github.com/bxparks/AceTime/issues/45
28+
29+
#elif defined(ARDUINO_API_VERSION)
30+
#error Platforms using ArduinoCore-API not supported
2731
#endif
2832

2933
#include "ace_time/common/compat.h"

0 commit comments

Comments
 (0)