Merge pull request #2247 from jepler/comment-doc-typos
Comment doc typos
This commit is contained in:
commit
cc13fc3433
@ -49,7 +49,7 @@
|
|||||||
//|
|
//|
|
||||||
//| .. classmethod:: add_to_peripheral(peripheral, uuid, *, secondary=False)
|
//| .. classmethod:: add_to_peripheral(peripheral, uuid, *, secondary=False)
|
||||||
//|
|
//|
|
||||||
//| Create a new Service object, identitied by the specified UUID, and add it
|
//| Create a new Service object, identified by the specified UUID, and add it
|
||||||
//| to the given Peripheral.
|
//| to the given Peripheral.
|
||||||
//|
|
//|
|
||||||
//| To mark the service as secondary, pass `True` as :py:data:`secondary`.
|
//| To mark the service as secondary, pass `True` as :py:data:`secondary`.
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
//| .. class:: ByteOrder()
|
//| .. class:: ByteOrder()
|
||||||
//|
|
//|
|
||||||
//| Classes representing byteorders for circuitpython
|
//| Classes representing byteorders for CircuitPython
|
||||||
|
|
||||||
|
|
||||||
//| .. attribute:: bpp
|
//| .. attribute:: bpp
|
||||||
@ -284,7 +284,7 @@ PIXELBUF_BYTEORDER(LBRG, 4, 3, 1, 2, 0, false, true)
|
|||||||
//| * **bpp** 4
|
//| * **bpp** 4
|
||||||
//| * **has_luminosity** True
|
//| * **has_luminosity** True
|
||||||
//|
|
//|
|
||||||
//| Actual format commonly used by DotStar (5 bit luninance value)
|
//| Actual format commonly used by DotStar (5 bit luminance value)
|
||||||
PIXELBUF_BYTEORDER(LBGR, 4, 3, 2, 1, 0, false, true)
|
PIXELBUF_BYTEORDER(LBGR, 4, 3, 2, 1, 0, false, true)
|
||||||
|
|
||||||
STATIC const mp_rom_map_elem_t pixelbuf_module_globals_table[] = {
|
STATIC const mp_rom_map_elem_t pixelbuf_module_globals_table[] = {
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
//| import time
|
//| import time
|
||||||
//| import math
|
//| import math
|
||||||
//|
|
//|
|
||||||
//| # Generate one period of sine wav.
|
//| # Generate one period of sine wave.
|
||||||
//| length = 8000 // 440
|
//| length = 8000 // 440
|
||||||
//| sine_wave = array.array("H", [0] * length)
|
//| sine_wave = array.array("H", [0] * length)
|
||||||
//| for i in range(length):
|
//| for i in range(length):
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
//|
|
//|
|
||||||
//| For compatibility with CircuitPython 4.x, some builds allow the items in
|
//| For compatibility with CircuitPython 4.x, some builds allow the items in
|
||||||
//| `audiocore` to be imported from `audioio`. This will be removed for all
|
//| `audiocore` to be imported from `audioio`. This will be removed for all
|
||||||
//| boards in a future build of CicuitPython.
|
//| boards in a future build of CircuitPython.
|
||||||
//|
|
//|
|
||||||
|
|
||||||
STATIC const mp_rom_map_elem_t audioio_module_globals_table[] = {
|
STATIC const mp_rom_map_elem_t audioio_module_globals_table[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user