Skip to content

Commit 2a46bcf

Browse files
Update contrib.rst
Update the PICO_RP2350A macro usage
1 parent e05dd50 commit 2a46bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contrib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ For only RP2350A variants (using the compile options, not the onboard ID registe
112112

113113
.. code:: cpp
114114
115-
#if defined(PICO_RP2350) && !defined(PICO_RP2350B)
115+
#if defined(PICO_RP2350A) && PICO_RP2350A
116116
...RP2350A only code...
117117
#endif
118118
@@ -121,7 +121,7 @@ and not the chip ID register):
121121

122122
.. code:: cpp
123123
124-
#if defined(PICO_RP2350B)
124+
#if defined(PICO_RP2350A) && !PICO_RP2350A
125125
...48-GPIO version code here
126126
#endif
127127

0 commit comments

Comments
 (0)