projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added new USB_DeviceState variable to keep track of the current Device mode USB state.
[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
e265910
..
628fa21
100644
(file)
--- 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 =
\r
void Bluetooth_Stack_Task(void)
\r
{
\r
- if (
!(USB_IsConnected) || (USB_HostState != HOST_STATE_Ready)
)
\r
+ if (
USB_HostState != HOST_STATE_Configured
)
\r
Bluetooth_HCIProcessingState = Bluetooth_Init;
\r
\r
Bluetooth_ProcessHCICommands();
\r