Skip to content

Commit 2f7c0ec

Browse files
committed
Minor fixes to _pixelbuf.PixelBuf docs
1 parent 90bd931 commit 2f7c0ec

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
@@ -44,7 +44,7 @@ extern const int32_t colorwheel(float pos);
4444

4545
static void parse_byteorder(mp_obj_t byteorder_obj, pixelbuf_byteorder_details_t* parsed);
4646

47-
//| .. currentmodule:: pixelbuf
47+
//| .. currentmodule:: _pixelbuf
4848
//|
4949
//| :class:`PixelBuf` -- A fast RGB[W] pixel buffer for LED and similar devices
5050
//| ===========================================================================
@@ -64,7 +64,7 @@ static void parse_byteorder(mp_obj_t byteorder_obj, pixelbuf_byteorder_details_t
6464
//| output buffer (``buf``).
6565
//|
6666
//| :param ~int size: Number of pixelsx
67-
//| :param ~str byteorder: Byte order string (such as "BGR" or "PBGR")
67+
//| :param ~str byteorder: Byte order string (such as "BGR" or "BGRP")
6868
//| :param ~float brightness: Brightness (0 to 1.0, default 1.0)
6969
//| :param ~bool auto_write: Whether to automatically write pixels (Default False)
7070
//| :param bytes header: Sequence of bytes to always send before pixel values.

0 commit comments

Comments
 (0)