You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Improve name of aiorepl coroutine
This commit is contained in:
@@ -89,8 +89,10 @@ if auto_start_app and launcher_app.fullname != auto_start_app:
|
||||
|
||||
# Create limited aiorepl because it's better than nothing:
|
||||
import aiorepl
|
||||
print("Starting very limited asyncio REPL task. Use sys.exit() to stop all asyncio tasks and go to real REPL...")
|
||||
mpos.TaskManager.create_task(aiorepl.task()) # only gets started when mpos.TaskManager() is created
|
||||
async def asyncio_repl():
|
||||
print("Starting very limited asyncio REPL task. Use sys.exit() to stop all asyncio tasks and go to real REPL...")
|
||||
await aiorepl.task()
|
||||
mpos.TaskManager.create_task(asyncio_repl()) # only gets started when mpos.TaskManager() is created
|
||||
|
||||
async def ota_rollback_cancel():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user