Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sven Greiner
rampinglight
Commits
946b084a
Commit
946b084a
authored
Mar 08, 2020
by
Sven Greiner
Browse files
Fix comment about LVP check
Not sure how I calculated 26 seconds, but 64 * 0.25 = 16.
parent
7909dfd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
rampinglight.c
View file @
946b084a
...
...
@@ -318,7 +318,7 @@ ISR(WDT_vect) {
}
#ifdef LOW_VOLTAGE_PROTECTION
if
((
ticks
&
0
b00111111
)
==
4
)
{
// Every ~
24
s starting after ~1s
if
((
ticks
&
0
b00111111
)
==
4
)
{
// Every ~
16
s starting after ~1s
run_lvp_check
=
1
;
}
#endif // ifdef LOW_VOLTAGE_PROTECTION
...
...
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