mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 03:40:47 +00:00
hci_event: fix warning
This commit is contained in:
parent
1a3bc516d3
commit
c69c1cf86b
@ -133,7 +133,7 @@ uint16_t hci_event_create_from_template_and_arglist(uint8_t *hci_event_buffer, u
|
||||
if (!hci_event_can_store(pos, buffer_size, 1, &overrun)) break;
|
||||
word = va_arg(argptr, int); // minimal va_arg is int: 2 bytes on 8+16 bit CPUs
|
||||
length_j = word & 0xff;
|
||||
hci_event_buffer[pos++] = length_j;
|
||||
hci_event_buffer[pos++] = (uint8_t) length_j;
|
||||
break;
|
||||
case 'K':
|
||||
word = va_arg(argptr, int); // minimal va_arg is int: 2 bytes on 8+16 bit CPUs
|
||||
|
Loading…
x
Reference in New Issue
Block a user