JANITORIAL: Fix typos in comments in various files (#10058)

This commit is contained in:
Hubert Maier 2024-06-19 16:13:46 +02:00 committed by GitHub
parent 0fe9f5da54
commit 3acdb8a90b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 28 additions and 28 deletions

View file

@ -234,7 +234,7 @@ static uint32_t get_hid_report_bytes(const uint8_t *rpt, size_t len, size_t num_
* Skips all nested Collection, i.e. iterates until the end of current level Collection.
*
* The return value is non-0 when an end of current Collection is found,
* 0 when error is occured (broken Descriptor, end of a Collection is found before its begin,
* 0 when error is occurred (broken Descriptor, end of a Collection is found before its begin,
* or no Collection is found at all).
*/
static int hid_iterate_over_collection(const uint8_t *report_descriptor, uint32_t size, unsigned int *pos, int *data_len, int *key_size)