mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
btstack_hid_parser: fix warnings
This commit is contained in:
parent
46788f9f69
commit
cb4063318d
@ -37,6 +37,7 @@
|
||||
|
||||
#define BTSTACK_FILE__ "btstack_hid_parser.c"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack_hid_parser.h"
|
||||
@ -262,7 +263,7 @@ static void hid_find_next_usage(btstack_hid_parser_t * parser){
|
||||
parser->available_usages = parser->usage_maximum - parser->usage_minimum + 1u;
|
||||
parser->usage_range = true;
|
||||
if (parser->available_usages < parser->required_usages){
|
||||
log_debug("Usage Min - Usage Max [%04x..%04x] < Report Count %u", parser->usage_minimum & 0xffff, parser->usage_maximum & 0xffff, parser->required_usages);
|
||||
log_debug("Usage Min - Usage Max [%04"PRIx32"..%04"PRIx32"] < Report Count %u", parser->usage_minimum & 0xffff, parser->usage_maximum & 0xffff, parser->required_usages);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user