Skip to content

Commit 905ad1f

Browse files
committed
PDM: apply guard only if not compiling as mbed library
1 parent 974b917 commit 905ad1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/PDM/src/PDM.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include <Arduino.h>
55

6-
#ifndef ARDUINO_ARCH_NRF52840
6+
#if !defined(ARDUINO_ARCH_NRF52840) && !defined(ARDUINO_AS_MBED_LIBRARY)
77
#error "This library targets only NRF52840 boards, not every mbed target"
88
#endif
99

0 commit comments

Comments
 (0)