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:
parent
fdac842f4d
commit
3465b19cc1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user