all: Fix various spelling mistakes found by codespell 2.2.6.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user