mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
fix compiler warnings
This commit is contained in:
parent
05bbbaabf4
commit
8f2b8ff8ce
@ -75,11 +75,15 @@ typedef struct hci_transport_h4 {
|
||||
static hci_transport_h4_t * hci_transport_h4 = NULL;
|
||||
|
||||
static int h4_process(struct data_source *ds);
|
||||
static void *h4_reader(void *context);
|
||||
static int h4_reader_process(struct data_source *ds);
|
||||
static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size);
|
||||
static hci_uart_config_t *hci_uart_config;
|
||||
|
||||
#ifdef USE_HCI_READER_THREAD
|
||||
static void *h4_reader(void *context);
|
||||
static int h4_reader_process(struct data_source *ds);
|
||||
#endif
|
||||
|
||||
|
||||
static void (*packet_handler)(uint8_t packet_type, uint8_t *packet, uint16_t size) = dummy_handler;
|
||||
|
||||
// packet reader state machine
|
||||
@ -271,6 +275,8 @@ static void h4_statemachine(){
|
||||
h4_deliver_packet();
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user