mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
allow void *
This commit is contained in:
parent
b1d8f7aa2d
commit
0258271367
@ -73,10 +73,10 @@ void bt_flip_addr(bd_addr_t dest, bd_addr_t src){
|
||||
dest[5] = src[0];
|
||||
}
|
||||
|
||||
void hexdump(uint8_t *data, int size){
|
||||
void hexdump(void *data, int size){
|
||||
int i;
|
||||
for (i=0; i<size;i++){
|
||||
printf("%02X ", data[i]);
|
||||
printf("%02X ", ((uint8_t *)data)[i]);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ int hci_power_control(HCI_POWER_MODE mode);
|
||||
uint32_t hci_run();
|
||||
|
||||
//
|
||||
void hexdump(uint8_t *data, int size);
|
||||
void hexdump(void *data, int size);
|
||||
|
||||
// create and send hci command packet based on a template and a list of parameters
|
||||
int hci_send_cmd(hci_cmd_t *cmd, ...);
|
||||
|
Loading…
x
Reference in New Issue
Block a user