Skip to content

Commit 70f2ef3

Browse files
committed
Fix docs some more
1 parent 2f7c0ec commit 70f2ef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/_pixelbuf/PixelBuf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static void parse_byteorder(mp_obj_t byteorder_obj, pixelbuf_byteorder_details_t
5858
//| When brightness is less than 1.0, a second buffer will be used to store the color values
5959
//| before they are adjusted for brightness.
6060
//|
61-
//| When ``P`` (pwm duration) is present as the 4th character of the byteorder
61+
//| When ``P`` (pwm duration) is present as the first character of the byteorder
6262
//| string, the 4th value in the tuple/list for a pixel is the individual pixel
6363
//| brightness (0.0-1.0) and will enable a Dotstar compatible 1st byte in the
6464
//| output buffer (``buf``).
@@ -265,7 +265,7 @@ STATIC mp_obj_t pixelbuf_pixelbuf_show(mp_obj_t self_in) {
265265
}
266266
STATIC MP_DEFINE_CONST_FUN_OBJ_1(pixelbuf_pixelbuf_show_obj, pixelbuf_pixelbuf_show);
267267

268-
//| .. function:: fill(color)
268+
//| .. method:: fill(color)
269269
//|
270270
//| Fills the given pixelbuf with the given color.
271271
//|

0 commit comments

Comments
 (0)