mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Run codespell -w against all files
and fix the wrong correction
This commit is contained in:
@@ -626,7 +626,7 @@ static uint8_t find_info_cb(FAR const struct bt_gatt_attr_s *attr,
|
||||
return BT_GATT_ITER_STOP;
|
||||
}
|
||||
|
||||
/* Fast foward to next item position */
|
||||
/* Fast forward to next item position */
|
||||
|
||||
data->u.info16 = bt_buf_extend(data->buf, sizeof(*data->u.info16));
|
||||
data->u.info16->handle = BT_HOST2LE16(attr->handle);
|
||||
@@ -641,7 +641,7 @@ static uint8_t find_info_cb(FAR const struct bt_gatt_attr_s *attr,
|
||||
return BT_GATT_ITER_STOP;
|
||||
}
|
||||
|
||||
/* Fast foward to next item position */
|
||||
/* Fast forward to next item position */
|
||||
|
||||
data->u.info128 = bt_buf_extend(data->buf, sizeof(*data->u.info128));
|
||||
data->u.info128->handle = BT_HOST2LE16(attr->handle);
|
||||
@@ -761,7 +761,7 @@ static uint8_t find_type_cb(FAR const struct bt_gatt_attr_s *attr,
|
||||
return data->group ? BT_GATT_ITER_STOP : BT_GATT_ITER_CONTINUE;
|
||||
}
|
||||
|
||||
/* Fast foward to next item position */
|
||||
/* Fast forward to next item position */
|
||||
|
||||
data->group = bt_buf_extend(data->buf, sizeof(*data->group));
|
||||
data->group->start_handle = BT_HOST2LE16(attr->handle);
|
||||
@@ -891,7 +891,7 @@ static uint8_t read_type_cb(FAR const struct bt_gatt_attr_s *attr,
|
||||
|
||||
wlinfo("handle 0x%04x\n", attr->handle);
|
||||
|
||||
/* Fast foward to next item position */
|
||||
/* Fast forward to next item position */
|
||||
|
||||
data->item = bt_buf_extend(data->buf, sizeof(*data->item));
|
||||
data->item->handle = BT_HOST2LE16(attr->handle);
|
||||
|
||||
@@ -751,7 +751,7 @@ int bt_gatt_discover(FAR struct bt_conn_s *conn,
|
||||
break;
|
||||
|
||||
default:
|
||||
wlerr("ERROR: Unkown UUID type %u\n", params->uuid->type);
|
||||
wlerr("ERROR: Unknown UUID type %u\n", params->uuid->type);
|
||||
bt_buf_release(buf);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ static void mac802154_resetqueues(FAR struct ieee802154_privmac_s *priv)
|
||||
* Description:
|
||||
* This function allocates a tx descriptor and the dependent primitive (data
|
||||
* confirmation) from the free list. The primitive and tx descriptor must be
|
||||
* freed seperately.
|
||||
* freed separately.
|
||||
*
|
||||
* Assumptions:
|
||||
* priv MAC struct is locked when calling.
|
||||
|
||||
@@ -145,7 +145,7 @@ int mac802154_req_get(MACHANDLE mac, enum ieee802154_attr_e attr,
|
||||
|
||||
default:
|
||||
{
|
||||
/* The attribute may be handled soley in the radio driver, so pass
|
||||
/* The attribute may be handled solely in the radio driver, so pass
|
||||
* it along.
|
||||
*/
|
||||
|
||||
@@ -240,7 +240,7 @@ int mac802154_req_set(MACHANDLE mac, enum ieee802154_attr_e attr,
|
||||
break;
|
||||
default:
|
||||
{
|
||||
/* The attribute may be handled soley in the radio driver, so pass
|
||||
/* The attribute may be handled solely in the radio driver, so pass
|
||||
* it along.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user