summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2019-10-28 14:47:52 -0400
committerGitHub <noreply@github.com>2019-10-28 14:47:52 -0400
commitcc13fc3433b41f34808937040f5d0f4c509d2124 (patch)
treed8426599020cd8250bd391fbad8f681c3299c638
parent0192268f67d9c42a98f332e49988e690bbd3a651 (diff)
parentc208586bf11a3902157a113983a8461afedfa023 (diff)
Merge pull request #2247 from jepler/comment-doc-typos
Comment doc typos
-rw-r--r--shared-bindings/_bleio/Service.c2
-rw-r--r--shared-bindings/_pixelbuf/__init__.c4
-rw-r--r--shared-bindings/audiobusio/I2SOut.c2
-rw-r--r--shared-bindings/audioio/__init__.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/shared-bindings/_bleio/Service.c b/shared-bindings/_bleio/Service.c
index da5633f2a..c9b828807 100644
--- a/shared-bindings/_bleio/Service.c
+++ b/shared-bindings/_bleio/Service.c
@@ -49,7 +49,7 @@
//|
//| .. 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 mark the service as secondary, pass `True` as :py:data:`secondary`.
diff --git a/shared-bindings/_pixelbuf/__init__.c b/shared-bindings/_pixelbuf/__init__.c
index 48b9f1cef..eb0cb2984 100644
--- a/shared-bindings/_pixelbuf/__init__.c
+++ b/shared-bindings/_pixelbuf/__init__.c
@@ -55,7 +55,7 @@
//| .. class:: ByteOrder()
//|
-//| Classes representing byteorders for circuitpython
+//| Classes representing byteorders for CircuitPython
//| .. attribute:: bpp
@@ -284,7 +284,7 @@ PIXELBUF_BYTEORDER(LBRG, 4, 3, 1, 2, 0, false, true)
//| * **bpp** 4
//| * **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)
STATIC const mp_rom_map_elem_t pixelbuf_module_globals_table[] = {
diff --git a/shared-bindings/audiobusio/I2SOut.c b/shared-bindings/audiobusio/I2SOut.c
index 2cd2b6728..81383c777 100644
--- a/shared-bindings/audiobusio/I2SOut.c
+++ b/shared-bindings/audiobusio/I2SOut.c
@@ -62,7 +62,7 @@
//| import time
//| import math
//|
-//| # Generate one period of sine wav.
+//| # Generate one period of sine wave.
//| length = 8000 // 440
//| sine_wave = array.array("H", [0] * length)
//| for i in range(length):
diff --git a/shared-bindings/audioio/__init__.c b/shared-bindings/audioio/__init__.c
index 7fa37d5c5..02a5fe1ee 100644
--- a/shared-bindings/audioio/__init__.c
+++ b/shared-bindings/audioio/__init__.c
@@ -68,7 +68,7 @@
//|
//| For compatibility with CircuitPython 4.x, some builds allow the items in
//| `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[] = {