hci: enable hci_emit_btstack_version even if EMBEDDED

This commit is contained in:
Matthias Ringwald 2016-01-21 22:50:17 +01:00
parent 424d0b0379
commit c2cd0082f9

View File

@ -2961,7 +2961,6 @@ void hci_emit_hci_open_failed(void){
hci_stack->packet_handler(HCI_EVENT_PACKET, event, sizeof(event));
}
#ifndef EMBEDDED
void hci_emit_btstack_version(void){
log_info("BTSTACK_EVENT_VERSION %u.%u", BTSTACK_MAJOR, BTSTACK_MINOR);
uint8_t event[6];
@ -2973,7 +2972,6 @@ void hci_emit_btstack_version(void){
hci_dump_packet( HCI_EVENT_PACKET, 0, event, sizeof(event));
hci_stack->packet_handler(HCI_EVENT_PACKET, event, sizeof(event));
}
#endif
void hci_emit_system_bluetooth_enabled(uint8_t enabled){
log_info("BTSTACK_EVENT_SYSTEM_BLUETOOTH_ENABLED %u", enabled);