Begin processing code for Service Discovery Protocol attributes.
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothStack.c
index 542a783..d78a9ef 100644 (file)
@@ -59,6 +59,9 @@ void Bluetooth_Stack_Init(void)
  */
 void Bluetooth_Stack_USBTask(void)
 {
+       if (USB_HostState != HOST_STATE_Configured)
+         return;
+
        Bluetooth_HCITask();
        Bluetooth_ACLTask();
 }