File tree 1 file changed +3
-3
lines changed
micropython/bluetooth/aioble/multitests
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ async def instance0_task():
44
44
45
45
# Register characteristic.written() handlers as asyncio background tasks.
46
46
# The order of these is important!
47
- asyncio .create_task (task_written (characteristic_second , "second" ))
48
- asyncio .create_task (task_written (characteristic_first , "first" ))
47
+ task_second = asyncio .create_task (task_written (characteristic_second , "second" ))
48
+ task_first = asyncio .create_task (task_written (characteristic_first , "first" ))
49
49
50
50
# This dummy task simulates background processing on a real system that
51
51
# can block the asyncio loop for brief periods of time
52
- asyncio .create_task (task_dummy ())
52
+ task_dummy = asyncio .create_task (task_dummy ())
53
53
54
54
multitest .globals (BDADDR = aioble .config ("mac" ))
55
55
multitest .next ()
You can’t perform that action at this time.
0 commit comments