btstack_hid_parser: fix warnings

This commit is contained in:
Dirk Helbig 2024-07-31 22:11:32 +02:00 committed by Matthias Ringwald
parent 46788f9f69
commit cb4063318d

View File

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