projects
/
Servomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbbdcd3
)
Make interval in measurements reset on clear.
author
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Tue, 10 Dec 2024 15:50:36 +0000
(16:50 +0100)
committer
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Tue, 10 Dec 2024 15:50:36 +0000
(16:50 +0100)
Measurement.ino
patch
|
blob
|
history
diff --git
a/Measurement.ino
b/Measurement.ino
index a0a7622c375c502897710f02881dd201bc34263f..56fc0477629d94cdee6761fe97f76101cab920bd 100644
(file)
--- a/
Measurement.ino
+++ b/
Measurement.ino
@@
-37,6
+37,7
@@
void Measurement::clear()
{
m_size = 0;
m_start_time = millis();
+ m_interval_ms = START_INTERVAL_MS;
}
// The function calls get_measurement repeatedly. It uses these measurements to