mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 19:20:26 +00:00
posix-h4: fix warninigs
This commit is contained in:
parent
5449042e9f
commit
5b67487b54
@ -99,16 +99,16 @@ int btstack_main(int argc, const char * argv[]);
|
|||||||
static void local_version_information_handler(uint8_t * packet);
|
static void local_version_information_handler(uint8_t * packet);
|
||||||
|
|
||||||
static hci_transport_config_uart_t config = {
|
static hci_transport_config_uart_t config = {
|
||||||
HCI_TRANSPORT_CONFIG_UART,
|
.type = HCI_TRANSPORT_CONFIG_UART,
|
||||||
115200,
|
.baudrate_init = 115200,
|
||||||
0, // main baudrate
|
.baudrate_main = 0,
|
||||||
1, // flow control
|
.flowcontrol = 1,
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static btstack_packet_callback_registration_t hci_event_callback_registration;
|
static btstack_packet_callback_registration_t hci_event_callback_registration;
|
||||||
|
|
||||||
static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
||||||
|
UNUSED(channel);
|
||||||
static bd_addr_t local_addr;
|
static bd_addr_t local_addr;
|
||||||
const uint8_t *params;
|
const uint8_t *params;
|
||||||
if (packet_type != HCI_EVENT_PACKET) return;
|
if (packet_type != HCI_EVENT_PACKET) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user