Run codespell -w against all files

and fix the wrong correction
This commit is contained in:
Xiang Xiao
2020-02-23 02:31:14 +08:00
committed by Gregory Nutt
parent a07ad7a115
commit bd4e8e19d3
526 changed files with 883 additions and 883 deletions
+4 -4
View File
@@ -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);
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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.
*/