mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
libusb: fix compile
This commit is contained in:
parent
4af9a48d93
commit
67e0331a16
@ -101,7 +101,7 @@
|
||||
|
||||
// prototypes
|
||||
static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size);
|
||||
static int usb_close(void *transport_config);
|
||||
static int usb_close(const void *transport_config);
|
||||
|
||||
typedef enum {
|
||||
LIB_USB_CLOSED = 0,
|
||||
@ -630,7 +630,7 @@ static int prepare_device(libusb_device_handle * aHandle){
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int usb_open(void *transport_config){
|
||||
static int usb_open(const void *transport_config){
|
||||
int r;
|
||||
|
||||
sco_state_machine_init();
|
||||
@ -847,7 +847,7 @@ static int usb_open(void *transport_config){
|
||||
}
|
||||
|
||||
|
||||
static int usb_close(void *transport_config){
|
||||
static int usb_close(const void *transport_config){
|
||||
int c;
|
||||
// @TODO: remove all run loops!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user