Skip to content

Commit 1db7f36

Browse files
committed
fix docs
1 parent 52cfbb6 commit 1db7f36

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ports/raspberrypi/bindings/rp2pio/StateMachine.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,13 +1055,13 @@ MP_DEFINE_CONST_FUN_OBJ_1(rp2pio_statemachine_get_rxfifo_obj, rp2pio_statemachin
10551055
MP_PROPERTY_GETTER(rp2pio_statemachine_rxfifo_obj,
10561056
(mp_obj_t)&rp2pio_statemachine_get_rxfifo_obj);
10571057

1058-
//| last_read: array
1058+
1059+
//| last_read: array.array
10591060
//| """Returns the buffer most recently filled by background reads.
10601061
//|
10611062
//| This property is self-clearing -- once read, subsequent reads
10621063
//| will return a zero-length buffer until the background read buffer
10631064
//| changes or restarts.
1064-
//|
10651065
//| """
10661066
static mp_obj_t rp2pio_statemachine_obj_get_last_read(mp_obj_t self_in) {
10671067
rp2pio_statemachine_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -1074,13 +1074,12 @@ MP_PROPERTY_GETTER(rp2pio_statemachine_last_read_obj,
10741074
(mp_obj_t)&rp2pio_statemachine_get_last_read_obj);
10751075

10761076

1077-
//| last_write: array
1077+
//| last_write: array.array
10781078
//| """Returns the buffer most recently emptied by background writes.
10791079
//|
10801080
//| This property is self-clearing -- once read, subsequent reads
10811081
//| will return a zero-length buffer until the background write buffer
10821082
//| changes or restarts.
1083-
//|
10841083
//| """
10851084
//|
10861085
static mp_obj_t rp2pio_statemachine_obj_get_last_write(mp_obj_t self_in) {

0 commit comments

Comments
 (0)