src/eric7/MicroPython/BluetoothDialogs/BluetoothAdvertisement.py

branch
mpy_network
changeset 9858
6518c336fcd3
parent 9857
0122ae72618d
child 9859
829c1edbf253
--- a/src/eric7/MicroPython/BluetoothDialogs/BluetoothAdvertisement.py	Wed Mar 08 14:25:24 2023 +0100
+++ b/src/eric7/MicroPython/BluetoothDialogs/BluetoothAdvertisement.py	Wed Mar 08 17:40:14 2023 +0100
@@ -230,7 +230,7 @@
                 continue
 
             m = struct.unpack("<H", u[0:2])[0]
-            if filter is None or m == filterId:
+            if filterId is None or m == filterId:
                 name = ManufacturerId.get(m, "") if withName else None
                 result.append((m, u[2:], name))
         return result

eric ide

mercurial