Fix missing n3 attribute and async function issue

- Add missing self.n3 = 1 attribute to MidiHandler initialization
- Fix update_rgb async function to properly yield control with await asyncio.sleep(0)
- Resolves TypeError about expecting coroutine but getting None
- Application now working properly with buttons and dials functional
This commit is contained in:
2025-09-19 00:07:37 +12:00
parent f2dcdabf29
commit a4a00021d8
2 changed files with 2 additions and 1 deletions

View File

@@ -204,7 +204,7 @@ class App:
# --- Asynchronous Update Functions ---
@async_handler
async def update_rgb(self, tab):
pass
await asyncio.sleep(0) # Yield control
def update_status_labels(self):
# Pull values from midi_handler