mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
uncrustify libraries/Filter/AverageFilter.h
This commit is contained in:
parent
10acadef62
commit
dbba304af8
@ -24,7 +24,8 @@ class AverageFilter : public FilterWithBuffer<T,FILTER_SIZE>
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// constructor
|
// constructor
|
||||||
AverageFilter() : FilterWithBuffer<T,FILTER_SIZE>(), _num_samples(0) {};
|
AverageFilter() : FilterWithBuffer<T,FILTER_SIZE>(), _num_samples(0) {
|
||||||
|
};
|
||||||
|
|
||||||
// apply - Add a new raw value to the filter, retrieve the filtered result
|
// apply - Add a new raw value to the filter, retrieve the filtered result
|
||||||
virtual T apply(T sample);
|
virtual T apply(T sample);
|
||||||
|
Loading…
Reference in New Issue
Block a user