mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix name of DisconnectionEvent into DisconnectionCompleteEvent for consistency.
parent
3ddcdf24a3
commit
4ed3f5620f
|
@ -630,10 +630,10 @@ private:
|
|||
*
|
||||
* @see ble::Gap::EventHandler::onDisconnectionComplete().
|
||||
*/
|
||||
struct DisconnectionEvent {
|
||||
struct DisconnectionCompleteEvent {
|
||||
#if !defined(DOXYGEN_ONLY)
|
||||
|
||||
DisconnectionEvent(
|
||||
DisconnectionCompleteEvent(
|
||||
connection_handle_t connectionHandle,
|
||||
const disconnection_reason_t &reason
|
||||
) :
|
||||
|
|
|
@ -427,7 +427,7 @@ public:
|
|||
*
|
||||
* @see disconnect()
|
||||
*/
|
||||
virtual void onDisconnectionComplete(const DisconnectionEvent &event)
|
||||
virtual void onDisconnectionComplete(const DisconnectionCompleteEvent &event)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -1448,7 +1448,7 @@ void GenericGap::processDisconnectionEvent(
|
|||
|
||||
if (_eventHandler) {
|
||||
_eventHandler->onDisconnectionComplete(
|
||||
DisconnectionEvent(
|
||||
DisconnectionCompleteEvent(
|
||||
handle,
|
||||
(disconnection_reason_t::type) reason
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue