From: Lukáš Jiřiště Date: Tue, 10 Dec 2024 15:33:09 +0000 (+0100) Subject: Remove default value from implementation file X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=8b0bde6951076663951f42551ba7f6f46f2d906d;p=Servomatic.git Remove default value from implementation file It should only ever be in the header file. --- diff --git a/Measurement.ino b/Measurement.ino index 5681b51..a0a7622 100644 --- a/Measurement.ino +++ b/Measurement.ino @@ -71,7 +71,7 @@ void Measurement::clear() // // Using this we can then numerically optimize a. Interval halving is used // because it is foolproof and the evaluation is not computationally demanding. -int Measurement::wait_for_equilibrium(float threshold = 0.01) +int Measurement::wait_for_equilibrium(float threshold) { clear(); while (m_size < 20 || threshold < calc_equilibrium_dist())