mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/multi_bluetooth/ble_gap_advertise: Fix bytes/str compare warning.
This commit is contained in:
committed by
Damien George
parent
f588138bbe
commit
9b06efb943
@@ -42,7 +42,7 @@ def instance1():
|
||||
adv_data = bytes(data[4])
|
||||
else:
|
||||
if adv_data != data[4]:
|
||||
adv_data = "MISMATCH"
|
||||
adv_data = b"MISMATCH"
|
||||
elif ev == _IRQ_SCAN_COMPLETE:
|
||||
finished = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user