diff options
| author | Damien George <damien@micropython.org> | 2023-10-03 11:24:50 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-10-03 11:24:50 +1100 |
| commit | cf490a70917a1b2d38ba9b58e763e0837d0f7ca7 (patch) | |
| tree | fd460c9323dd46b4466193fc56dc319cbf717c77 /extmod | |
| parent | 9d5d2e8cf71321b4ba41bad127bf0ea0ff24ccbf (diff) | |
all: Fix various spelling mistakes found by codespell 2.2.6.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/modbluetooth.c | 2 | ||||
| -rw-r--r-- | extmod/nimble/modbluetooth_nimble.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extmod/modbluetooth.c b/extmod/modbluetooth.c index 7b13f9556..3417df7a2 100644 --- a/extmod/modbluetooth.c +++ b/extmod/modbluetooth.c @@ -504,7 +504,7 @@ STATIC int bluetooth_gatts_register_service(mp_obj_t uuid_in, mp_obj_t character // How many descriptors in the flattened list per characteristic. uint8_t *num_descriptors = m_new(uint8_t, len); - // Inititally allocate enough room for the number of characteristics. + // Initially allocate enough room for the number of characteristics. // Will be grown to accommodate descriptors as necessary. *num_handles = len; *handles = m_new(uint16_t, *num_handles); diff --git a/extmod/nimble/modbluetooth_nimble.c b/extmod/nimble/modbluetooth_nimble.c index e23ffbf0f..5e3e38ea6 100644 --- a/extmod/nimble/modbluetooth_nimble.c +++ b/extmod/nimble/modbluetooth_nimble.c @@ -1856,7 +1856,7 @@ int mp_bluetooth_l2cap_recvinto(uint16_t conn_handle, uint16_t cid, uint8_t *buf // re-enable receiving yet (as we need to complete the rest of IRQ handler first). if (!chan->irq_in_progress) { // We've already given the channel a new mbuf in l2cap_channel_event above, so - // re-use that mbuf in the call to ble_l2cap_recv_ready. This will just + // reuse that mbuf in the call to ble_l2cap_recv_ready. This will just // give the channel more credits. struct os_mbuf *sdu_rx = chan->chan->coc_rx.sdu; assert(sdu_rx); |
