projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Begin processing code for Service Discovery Protocol attributes.
[pub/USBasp.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
Lib
/
BluetoothStack.c
diff --git
a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
index
542a783
..
d78a9ef
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
@@
-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();
}