Skip to content

Commit 6ae440a

Browse files
committed
aioble/examples: Change variable name to _ADV_INTERVAL_US.
Following 28136d8 Signed-off-by: Damien George <damien@micropython.org>
1 parent c266d30 commit 6ae440a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

micropython/bluetooth/aioble/examples/l2cap_file_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
_CONTROL_CHARACTERISTIC_UUID = bluetooth.UUID("0492fcec-7194-11eb-9439-0242ac130003")
3434

3535
# How frequently to send advertising beacons.
36-
_ADV_INTERVAL_MS = 250_000
36+
_ADV_INTERVAL_US = 250_000
3737

3838

3939
_COMMAND_SEND = const(0)
@@ -162,7 +162,7 @@ async def peripheral_task():
162162
while True:
163163
print("Waiting for connection")
164164
connection = await aioble.advertise(
165-
_ADV_INTERVAL_MS,
165+
_ADV_INTERVAL_US,
166166
name="mpy-file",
167167
services=[_FILE_SERVICE_UUID],
168168
)

0 commit comments

Comments
 (0)