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;
}