mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
daemon: load intel firmware and setup stack on first power on only
This commit is contained in:
parent
0467876438
commit
0c208dfb97
@ -936,8 +936,11 @@ static int btstack_command_handler(connection_t *connection, uint8_t *packet, ui
|
||||
} else if (!power_management_sleep) {
|
||||
stop_power_off_timer();
|
||||
#ifdef HAVE_INTEL_USB
|
||||
// before staring up the stack, load intel firmware
|
||||
btstack_chipset_intel_download_firmware(transport, &btstack_server_intel_firmware_done);
|
||||
if (!intel_firmware_loaded){
|
||||
// before staring up the stack, load intel firmware
|
||||
btstack_chipset_intel_download_firmware(transport, &btstack_server_intel_firmware_done);
|
||||
break;
|
||||
}
|
||||
#else
|
||||
hci_power_control(HCI_POWER_ON);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user