aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-22 11:36:39 +0200
committerSven Gothel <[email protected]>2020-06-22 11:36:39 +0200
commiteb76265339474ad793754d5954e18608b83a4fd2 (patch)
tree3fbfd8f917fcbec3405a15dd2d8629b38a13a70c /src/direct_bt
parent798ce06bdada9fddd0570cf96b9fdcd9774e53d7 (diff)
GATTHandler: DBT_PRINT fix
Diffstat (limited to 'src/direct_bt')
-rw-r--r--src/direct_bt/GATTHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/GATTHandler.cpp b/src/direct_bt/GATTHandler.cpp
index 500ee868..bb2a5181 100644
--- a/src/direct_bt/GATTHandler.cpp
+++ b/src/direct_bt/GATTHandler.cpp
@@ -302,7 +302,7 @@ bool GATTHandler::connect() {
bool GATTHandler::disconnect(const bool ioErrorCause) {
DBG_PRINT("GATTHandler::disconnect: GattHandler[%s], l2cap[%s], connected %d, device-value %d",
getStateString().c_str(), l2cap.getStateString().c_str(),
- (Disconnected < state), (nullptr != device));
+ (L2CAPComm::State::Disconnected < state), (nullptr != device));
if( L2CAPComm::State::Disconnected >= state ) {
// not open