Skip to content

Commit fb418c9

Browse files
committed
har_trees: Fix bug
1 parent 7b80f6b commit fb418c9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/har_trees/har_record.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def on_doubleclick():
138138
class_selected = 0
139139
update_display()
140140

141+
c = classes[class_selected]
141142
print(f'har-record-cycle class={c}')
142143

143144
button_pin = machine.Pin(37, machine.Pin.IN, machine.Pin.PULL_UP) # Button A on M5StickC PLUS2

0 commit comments

Comments
 (0)