analog_battery: add option for filter (#23987)

This commit is contained in:
Alex Klimaj
2025-01-03 16:01:16 +01:00
committed by GitHub
parent f1a339e7c6
commit 1043aebf5d
4 changed files with 37 additions and 3 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ public:
*
* Both parameters have to be provided in the same units.
*
* @param sample_interval interval between two samples
* @param time_constant filter time constant determining convergence
* @param sample_interval interval between two samples in seconds
* @param time_constant filter time constant determining convergence in seconds
*/
void setParameters(float sample_interval, float time_constant)
{