From: Lukáš Jiřiště Date: Tue, 10 Dec 2024 15:50:36 +0000 (+0100) Subject: Make interval in measurements reset on clear. X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=a5c67f84bb85bca1e513f9c61206d0d2d4e92ccd;p=Servomatic.git Make interval in measurements reset on clear. --- diff --git a/Measurement.ino b/Measurement.ino index a0a7622..56fc047 100644 --- 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