use uint8_t for address type

This commit is contained in:
matthias.ringwald@gmail.com 2014-01-02 21:40:09 +00:00
parent 69a9752351
commit 18904abd4b
2 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ int hci_le_supported(void){
}
// get addr type and address used in advertisement packets
void hci_le_advertisement_address(int * addr_type, bd_addr_t * addr){
void hci_le_advertisement_address(uint8_t * addr_type, bd_addr_t * addr){
*addr_type = hci_stack.adv_addr_type;
if (hci_stack.adv_addr_type){
memcpy(addr, hci_stack.adv_address, 6);

View File

@ -412,7 +412,7 @@ void hci_ssp_set_authentication_requirement(int authentication_requirement);
void hci_ssp_set_auto_accept(int auto_accept);
// get addr type and address used in advertisement packets
void hci_le_advertisement_address(int * addr_type, bd_addr_t * addr);
void hci_le_advertisement_address(uint8_t * addr_type, bd_addr_t * addr);
#if defined __cplusplus
}