Skip to content

Commit ff041ca

Browse files
committed
shared-bindings: Fix incorrect code comments
Most likely caused by copy-paste.
1 parent 243279f commit ff041ca

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

shared-bindings/audiobusio/PDMIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ STATIC mp_obj_t audiobusio_pdmin_make_new(const mp_obj_type_t *type, size_t n_ar
146146

147147
//| .. method:: deinit()
148148
//|
149-
//| Deinitialises the PWMOut and releases any hardware resources for reuse.
149+
//| Deinitialises the PDMIn and releases any hardware resources for reuse.
150150
//|
151151
STATIC mp_obj_t audiobusio_pdmin_deinit(mp_obj_t self_in) {
152152
audiobusio_pdmin_obj_t *self = MP_OBJ_TO_PTR(self_in);

shared-bindings/audioio/AudioOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ STATIC mp_obj_t audioio_audioout_make_new(const mp_obj_type_t *type, size_t n_ar
101101
// We explicitly don't check whether the pin is free because multiple
102102
// AudioOuts may share it.
103103

104-
// create PWM object from the given pin
104+
// create AudioOut object from the given pin
105105
audioio_audioout_obj_t *self = m_new_obj(audioio_audioout_obj_t);
106106
self->base.type = &audioio_audioout_type;
107107
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
124124

125125
//| .. method:: deinit()
126126
//|
127-
//| Deinitialises the PWMOut and releases any hardware resources for reuse.
127+
//| Deinitialises the AudioOut and releases any hardware resources for reuse.
128128
//|
129129
STATIC mp_obj_t audioio_audioout_deinit(mp_obj_t self_in) {
130130
audioio_audioout_obj_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)