Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fleur
firmware
Commits
e597083f
Commit
e597083f
authored
Aug 27, 2019
by
Rahix
Browse files
Merge 'Fix bad merge in ECG app'
See merge request
card10/firmware!269
parents
553a5038
ed6b6ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
preload/apps/ecg/__init__.py
View file @
e597083f
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment