aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-04-09 01:31:09 +0200
committerSven Gothel <[email protected]>2022-04-09 01:31:09 +0200
commitab36a2dcfd29c5843d416f8e9d3265348b85bd6d (patch)
tree236f0e0f9b516c06f910f021edb13a2dba4ba1b2 /java
parent66fbc09bdc28bd59e294b53d3ab2f5f43c45f933 (diff)
DBTGattChar.findGattDesc() (java): Fix wrong comparison (inverse, typo)
Diffstat (limited to 'java')
-rw-r--r--java/jau/direct_bt/DBTGattChar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jau/direct_bt/DBTGattChar.java b/java/jau/direct_bt/DBTGattChar.java
index 2229a977..0d44d983 100644
--- a/java/jau/direct_bt/DBTGattChar.java
+++ b/java/jau/direct_bt/DBTGattChar.java
@@ -145,7 +145,7 @@ public class DBTGattChar extends DBTObject implements BTGattChar
return null;
}
final DBTDevice device = service.wbr_device.get();
- if( null != device ) {
+ if( null == device ) {
return null;
}
final int size = descriptorList.size();