mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-30 00:51:58 +01:00
Fix NullPointerException (#18181)
Fixes #18180 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
783bcce165
commit
85555ad72b
@ -220,7 +220,7 @@ public class BlueZBluetoothDevice extends BaseBluetoothDevice implements BlueZEv
|
||||
}
|
||||
for (BluetoothGattService service : dev.getGattServices()) {
|
||||
for (BluetoothGattCharacteristic c : service.getGattCharacteristics()) {
|
||||
if (c.getUuid().equalsIgnoreCase(uuid)) {
|
||||
if (uuid.equalsIgnoreCase(c.getUuid())) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user