diff options
| author | yum <yum.food.vr@gmail.com> | 2022-11-12 15:02:34 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-11-12 15:02:34 -0800 |
| commit | 9921697816c9f9473bac54444793f702e54d24a6 (patch) | |
| tree | 4b786d400405669916b8d6922394771529ecba88 /osc_ctrl.py | |
| parent | 3b038d23ec7621e0164c1901b416bf77a27d8cf3 (diff) | |
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.
Diffstat (limited to 'osc_ctrl.py')
| -rw-r--r-- | osc_ctrl.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
