We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974b917 commit 905ad1fCopy full SHA for 905ad1f
libraries/PDM/src/PDM.h
@@ -3,7 +3,7 @@
3
4
#include <Arduino.h>
5
6
-#ifndef ARDUINO_ARCH_NRF52840
+#if !defined(ARDUINO_ARCH_NRF52840) && !defined(ARDUINO_AS_MBED_LIBRARY)
7
#error "This library targets only NRF52840 boards, not every mbed target"
8
#endif
9
0 commit comments