projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code...
[pub/lufa.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
b5b8bac
..
7f49fc9
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
@@
-39,11
+39,13
@@
Bluetooth_Device_t Bluetooth_DeviceConfiguration ATTR_WEAK =
Name: "LUFA BT Device"
\r
};
\r
\r
Name: "LUFA BT Device"
\r
};
\r
\r
+void Bluetooth_State_Init(void)
\r
+{
\r
+ Bluetooth_HCIProcessingState = Bluetooth_Init;
\r
+}
\r
+
\r
void Bluetooth_Stack_Task(void)
\r
{
\r
void Bluetooth_Stack_Task(void)
\r
{
\r
- if (USB_HostState != HOST_STATE_Configured)
\r
- Bluetooth_HCIProcessingState = Bluetooth_Init;
\r
-
\r
Bluetooth_ProcessHCICommands();
\r
Bluetooth_ProcessACLPackets();
\r
}
\r
Bluetooth_ProcessHCICommands();
\r
Bluetooth_ProcessACLPackets();
\r
}
\r