Skip to content

Commit 98c114a

Browse files
authored
Updated hardware/pio.h to correct the comment for the third (PIO 2) hardware PIO instance (#2004)
1 parent 3708588 commit 98c114a

File tree

1 file changed

+2
-2
lines changed
  • src/rp2_common/hardware_pio/include/hardware

1 file changed

+2
-2
lines changed

src/rp2_common/hardware_pio/include/hardware/pio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ typedef pio_hw_t *PIO;
115115
#define pio1 pio1_hw
116116

117117
#if NUM_PIOS > 2
118-
/** Identifier for the second (PIO 1) hardware PIO instance (for use in PIO functions).
118+
/** Identifier for the third (PIO 2) hardware PIO instance (for use in PIO functions).
119119
*
120-
* e.g. pio_gpio_init(pio1, 5)
120+
* e.g. pio_gpio_init(pio2, 5)
121121
*
122122
* \ingroup hardware_pio
123123
*/

0 commit comments

Comments
 (0)