summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/library/rp2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/rp2.rst b/docs/library/rp2.rst
index 43143fe08..05d3b80f3 100644
--- a/docs/library/rp2.rst
+++ b/docs/library/rp2.rst
@@ -58,7 +58,7 @@ For running PIO programs, see :class:`rp2.StateMachine`.
combined into a single 8-word FIFO for one direction only. The options
are `PIO.JOIN_NONE`, `PIO.JOIN_RX` and `PIO.JOIN_TX`.
-.. function:: asm_pio_encode(instr, sideset_count)
+.. function:: asm_pio_encode(instr, sideset_count, sideset_opt=False)
Assemble a single PIO instruction. You usually want to use `asm_pio()`
instead.