Skip to content

Commit 6e52b72

Browse files
Update macro for detecting this core in contributing docs (#1436)
1 parent ef4ec41 commit 6e52b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contrib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ code that only runs on this core, use the following define.
8484

8585
.. code:: cpp
8686
87-
#if defined(ARDUINO_ARCH_RP2040)
87+
#if defined(ARDUINO_ARCH_RP2040) && !defined(__MBED__)
8888
~~~ your changes ~~~
8989
#endif
9090

0 commit comments

Comments
 (0)