Skip to content

Commit 34427bd

Browse files
authored
Update StateMachine.c
1 parent b482a73 commit 34427bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ports/raspberrypi/bindings/rp2pio/StateMachine.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(rp2pio_statemachine_stop_obj, rp2pio_statemachine_stop
391391
//| :param ~circuitpython_typing.ReadableBuffer buffer: Write out the data in this buffer
392392
//| :param int start: Start of the slice of ``buffer`` to write out: ``buffer[start:end]``
393393
//| :param int end: End of the slice; this index is not included. Defaults to ``len(buffer)``"""
394-
//| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
394+
//| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order"""
395395
//| ...
396396
//|
397397
STATIC mp_obj_t rp2pio_statemachine_write(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
@@ -467,7 +467,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(rp2pio_statemachine_write_obj, 2, rp2pio_statemachine
467467
//|
468468
//| :param ~Optional[circuitpython_typing.ReadableBuffer] once: Data to be written once
469469
//| :param ~Optional[circuitpython_typing.ReadableBuffer] loop: Data to be written repeatedly
470-
//| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
470+
//| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order
471471
//| """
472472
//| ...
473473
//|
@@ -592,7 +592,7 @@ const mp_obj_property_t rp2pio_statemachine_pending_obj = {
592592
//| :param ~circuitpython_typing.WriteableBuffer buffer: Read data into this buffer
593593
//| :param int start: Start of the slice of ``buffer`` to read into: ``buffer[start:end]``
594594
//| :param int end: End of the slice; this index is not included. Defaults to ``len(buffer)``
595-
//| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
595+
//| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order"""
596596
//| ...
597597
//|
598598

@@ -651,8 +651,8 @@ MP_DEFINE_CONST_FUN_OBJ_KW(rp2pio_statemachine_readinto_obj, 2, rp2pio_statemach
651651
//| :param int out_end: End of the slice; this index is not included. Defaults to ``len(buffer_out)``
652652
//| :param int in_start: Start of the slice of ``buffer_in`` to read into: ``buffer_in[in_start:in_end]``
653653
//| :param int in_end: End of the slice; this index is not included. Defaults to ``len(buffer_in)``"""
654-
//| :param bool swap_out: For 2- and 4-byte elements, swap the byte order for the buffer being transmitted (written)"""
655-
//| :param bool swap_in: For 2- and 4-rx elements, swap the byte order for the buffer being received (read)"""
654+
//| :param bool swap_out: For 2- and 4-byte elements, swap (reverse) the byte order for the buffer being transmitted (written)"""
655+
//| :param bool swap_in: For 2- and 4-rx elements, swap (reverse) the byte order for the buffer being received (read)"""
656656
//| ...
657657
//|
658658

0 commit comments

Comments
 (0)