From a367c27c92ff9fd20e44b0434985dac2599c8c2a Mon Sep 17 00:00:00 2001 From: Boyan Date: Wed, 20 Jul 2022 19:32:26 +0300 Subject: [PATCH] cleanup --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0d619c9..1de6545 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ async def button_press(gpio:int, level) -> bool: asyncio.sleep(.5) async def ptt(): - await asyncio.create_task(button_press(10, pigpio.EITHER_EDGE)) + asyncio.create_task(button_press(10, pigpio.EITHER_EDGE)) while True: if PTT_IS_ON == 1: print("HEEEEEE")