mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
example: fix warnings
This commit is contained in:
parent
db2353e526
commit
9d0104069f
@ -106,7 +106,7 @@ typedef struct {
|
||||
uint16_t sbc_storage_count;
|
||||
uint8_t sbc_ready_to_send;
|
||||
|
||||
uint16_t volume;
|
||||
uint8_t volume;
|
||||
} a2dp_media_sending_context_t;
|
||||
|
||||
static uint8_t media_sbc_codec_capabilities[] = {
|
||||
|
@ -161,7 +161,7 @@ static void hid_host_setup(void){
|
||||
hci_add_event_handler(&hci_event_callback_registration);
|
||||
|
||||
// Disable stdout buffering
|
||||
setbuf(stdout, NULL);
|
||||
setvbuf(stdin, NULL, _IONBF, 0);
|
||||
}
|
||||
/* LISTING_END */
|
||||
|
||||
@ -215,7 +215,7 @@ static void hid_host_handle_interrupt_report(const uint8_t * report, uint16_t re
|
||||
if (usage >= sizeof(keytable_us_none)) continue;
|
||||
|
||||
// store new keys
|
||||
new_keys[new_keys_count++] = usage;
|
||||
new_keys[new_keys_count++] = (uint8_t) usage;
|
||||
|
||||
// check if usage was used last time (and ignore in that case)
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user