Merge pull request #104 from cassm/master

Fix two bugs in sequencer
sammachin-gprs
Marek Ventur 2018-09-02 19:28:05 +01:00 committed by GitHub
commit a48bfb3d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -154,10 +154,11 @@ def mode_buttons():
for row in range(total_rows):
for col in range(total_cols):
active_states[row][col] = False
ui_changed = False
ui_changed = True
if is_triggered(Buttons.BTN_A):
if (joy_last_pressed[5] + debounce_time < time.ticks_ms()):
joy_last_pressed[5] = time.ticks_ms()
speaker.stop()
display_help()
ui_changed = True
if is_triggered(Buttons.BTN_Menu):