projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move out Bluetooth stack callback functions to a seperate BluetoothEvents.c/.h set...
[pub/lufa.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
Lib
/
BluetoothACLPackets.c
diff --git
a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
index
ec85aab
..
d4b951d
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
@@
-552,6
+552,7
@@
static inline void Bluetooth_Signal_ConfigurationReq(const BT_Signal_Header_t* c
break;
case BT_Channel_Config_WaitReq:
ChannelData->State = BT_Channel_Open;
break;
case BT_Channel_Config_WaitReq:
ChannelData->State = BT_Channel_Open;
+ Bluetooth_ChannelOpened(ChannelData);
break;
}
}
break;
}
}
@@
-594,6
+595,7
@@
static inline void Bluetooth_Signal_ConfigurationResp(const BT_Signal_Header_t*
break;
case BT_Channel_Config_WaitResp:
ChannelData->State = BT_Channel_Open;
break;
case BT_Channel_Config_WaitResp:
ChannelData->State = BT_Channel_Open;
+ Bluetooth_ChannelOpened(ChannelData);
break;
}
}
break;
}
}