Skip to content
Snippets Groups Projects
Verified Commit ed6b6ea9 authored by xiretza's avatar xiretza
Browse files

fix(preload): Fix bad merge in ECG app

OFFSET was renamed to OFFSET_Y in ea5a30d9 ("add pause-mode"), while
the call to `draw_leds()` in bc7e3b92 ("Add led activity to ECG app")
still uses the old name. This causes an exception and the ECG app fails
to proceed past the start screen.
parent 553a5038
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ def draw_histogram():
old = value
x += 1
draw_leds((60 - int((max(history[-3:]) * scale + OFFSET) - 20)) * 11 / 60)
draw_leds((60 - int((max(history[-3:]) * scale + OFFSET_Y) - 20)) * 11 / 60)
# draw text: mode/bias/write
if pause_histogram == True:
disp.print(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment