From 9921697816c9f9473bac54444793f702e54d24a6 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 12 Nov 2022 15:02:34 -0800 Subject: Fix reset button Board would lock up if you reset after the first page. osc_ctrl.clear() was assigning the wrong member :) Tweak continuous transcription logic: now we only commit if the transcription remains identical for N seconds. --- osc_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osc_ctrl.py') diff --git a/osc_ctrl.py b/osc_ctrl.py index 2e7ef39..be853dc 100644 --- a/osc_ctrl.py +++ b/osc_ctrl.py @@ -290,7 +290,7 @@ def clear(client, tx_state): addr="/avatar/parameters/" + generate_utils.getClearBoardParam() client.send_message(addr, False) - tx_state.last_message_encoded = [] + tx_state.last_msg_encoded = [] if __name__ == "__main__": parser = argparse.ArgumentParser() -- cgit v1.2.3