X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e0af6014a746b1ef0707d388a58bcf77b9ea47f1..7aecda6fda5bcced68d72b0cf73d00174aa5c7cd:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c?ds=sidebyside diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c index e2659102e..628fa217c 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c @@ -41,7 +41,7 @@ Bluetooth_Device_t Bluetooth_DeviceConfiguration ATTR_WEAK = void Bluetooth_Stack_Task(void) { - if (!(USB_IsConnected) || (USB_HostState != HOST_STATE_Ready)) + if (USB_HostState != HOST_STATE_Configured) Bluetooth_HCIProcessingState = Bluetooth_Init; Bluetooth_ProcessHCICommands();