summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorarturo182 <arturo182@tlen.pl>2018-02-06 22:03:17 +0100
committerarturo182 <arturo182@tlen.pl>2018-02-06 22:03:17 +0100
commitff041caa52fcf7a15f0b18f5f1edf1c972f86e50 (patch)
tree6574387be55370694aa60ec288be116e5a571a5f /shared-bindings
parent243279fdc357124975b1ceb2ab4118bfe1be12fb (diff)
shared-bindings: Fix incorrect code comments
Most likely caused by copy-paste.
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/audiobusio/PDMIn.c2
-rw-r--r--shared-bindings/audioio/AudioOut.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/audiobusio/PDMIn.c b/shared-bindings/audiobusio/PDMIn.c
index f273c7a3d..bd89ab179 100644
--- a/shared-bindings/audiobusio/PDMIn.c
+++ b/shared-bindings/audiobusio/PDMIn.c
@@ -146,7 +146,7 @@ STATIC mp_obj_t audiobusio_pdmin_make_new(const mp_obj_type_t *type, size_t n_ar
//| .. method:: deinit()
//|
-//| Deinitialises the PWMOut and releases any hardware resources for reuse.
+//| Deinitialises the PDMIn and releases any hardware resources for reuse.
//|
STATIC mp_obj_t audiobusio_pdmin_deinit(mp_obj_t self_in) {
audiobusio_pdmin_obj_t *self = MP_OBJ_TO_PTR(self_in);
diff --git a/shared-bindings/audioio/AudioOut.c b/shared-bindings/audioio/AudioOut.c
index 4e76565e9..01815ebb7 100644
--- a/shared-bindings/audioio/AudioOut.c
+++ b/shared-bindings/audioio/AudioOut.c
@@ -101,7 +101,7 @@ STATIC mp_obj_t audioio_audioout_make_new(const mp_obj_type_t *type, size_t n_ar
// We explicitly don't check whether the pin is free because multiple
// AudioOuts may share it.
- // create PWM object from the given pin
+ // create AudioOut object from the given pin
audioio_audioout_obj_t *self = m_new_obj(audioio_audioout_obj_t);
self->base.type = &audioio_audioout_type;
mp_buffer_info_t bufinfo;
@@ -124,7 +124,7 @@ STATIC mp_obj_t audioio_audioout_make_new(const mp_obj_type_t *type, size_t n_ar
//| .. method:: deinit()
//|
-//| Deinitialises the PWMOut and releases any hardware resources for reuse.
+//| Deinitialises the AudioOut and releases any hardware resources for reuse.
//|
STATIC mp_obj_t audioio_audioout_deinit(mp_obj_t self_in) {
audioio_audioout_obj_t *self = MP_OBJ_TO_PTR(self_in);