Skip to content

Commit b059f99

Browse files
authored
Fix aioble README const name: ADDR_PUBLIC
Signed-off-by: Garry W <32130780+garywill@users.noreply.github.com>
1 parent e4cf095 commit b059f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/bluetooth/aioble/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async with aioble.scan(duration_ms=5000, interval_us=30000, window_us=30000, act
9393
# Either from scan result
9494
device = result.device
9595
# Or with known address
96-
device = aioble.Device(aioble.PUBLIC, "aa:bb:cc:dd:ee:ff")
96+
device = aioble.Device(aioble.ADDR_PUBLIC, "aa:bb:cc:dd:ee:ff")
9797

9898
try:
9999
connection = await device.connect(timeout_ms=2000)

0 commit comments

Comments
 (0)