diff options
author | Sven Gothel <[email protected]> | 2022-04-22 00:17:19 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-22 00:17:19 +0200 |
commit | b617adf56ae724e8898935682cf269c8679b6e84 (patch) | |
tree | 02edeccb17b728584b99b978c0a234d4f1af592a /src/direct_bt/BTGattHandler.cpp | |
parent | 557c3e221fea05533c8c4cde555c35f795fc0191 (diff) |
[HCI|L2CAP]Comm: Clarify external interrupted API: is_interrupted_t -> get_boolean_callback_t, set_interupt() -> set_interrupted_query()
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r-- | src/direct_bt/BTGattHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp index b147eddf..d8f857cb 100644 --- a/src/direct_bt/BTGattHandler.cpp +++ b/src/direct_bt/BTGattHandler.cpp @@ -569,7 +569,7 @@ BTGattHandler::BTGattHandler(const BTDeviceRef &device, L2CAPClient& l2cap_att, * We utilize DBTManager's mgmthandler_sigaction SIGALRM handler, * as we only can install one handler. */ - l2cap.set_interupt( jau::bindMemberFunc(&l2cap_reader_service, &jau::service_runner::shall_stop2) ); + l2cap.set_interrupted_query( jau::bindMemberFunc(&l2cap_reader_service, &jau::service_runner::shall_stop2) ); l2cap_reader_service.start(); if( GATTRole::Client == getRole() ) { |