1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-01-30 15:32:41 +00:00

btstack_hid_parser: fix warnings

This commit is contained in:
Dirk Helbig 2024-09-06 16:11:20 +02:00 committed by Matthias Ringwald
parent fdac842f4d
commit 3465b19cc1
2 changed files with 2 additions and 2 deletions

@ -211,7 +211,7 @@ bool btstack_hid_descriptor_iterator_has_more(btstack_hid_descriptor_iterator_t
return iterator->item_ready;
}
const hid_descriptor_item_t * const btstack_hid_descriptor_iterator_get_item(btstack_hid_descriptor_iterator_t * iterator){
const hid_descriptor_item_t * btstack_hid_descriptor_iterator_get_item(btstack_hid_descriptor_iterator_t * iterator){
iterator->descriptor_pos += iterator->descriptor_item.item_size;
iterator->item_ready = false;
return &iterator->descriptor_item;

@ -209,7 +209,7 @@ bool btstack_hid_descriptor_iterator_has_more(btstack_hid_descriptor_iterator_t
* @param iterator
* @return
*/
const hid_descriptor_item_t * const btstack_hid_descriptor_iterator_get_item(btstack_hid_descriptor_iterator_t * iterator);
const hid_descriptor_item_t * btstack_hid_descriptor_iterator_get_item(btstack_hid_descriptor_iterator_t * iterator);
/**
* @brief Returns if HID Descriptor was well formed