fix compile

This commit is contained in:
matthias.ringwald@gmail.com 2014-10-05 09:23:05 +00:00
parent 578335164f
commit bfca07b8cf

View File

@ -115,7 +115,7 @@ static void notify_client(int event_type){
if (!client_handler) return; if (!client_handler) return;
ancs_event_t event; ancs_event_t event;
event.type = event_type; event.type = event_type;
event.handle = handle; event.handle = gc_handle;
event.attribute_id = ancs_attribute_id; event.attribute_id = ancs_attribute_id;
event.text = ancs_notification_buffer; event.text = ancs_notification_buffer;
(*client_handler)(&event); (*client_handler)(&event);
@ -320,5 +320,5 @@ void ancs_client_hci_event_handler (uint8_t packet_type, uint16_t channel, uint8
} }
void ancs_client_init(){ void ancs_client_init(){
gatt_client_register_packet_handler(&gc_handle_gatt_client_event); gatt_client_register_packet_handler(&handle_gatt_client_event);
} }