uncrustify libraries/Filter/DerivativeFilter.h

This commit is contained in:
uncrustify 2012-08-16 23:22:10 -07:00 committed by Pat Hickey
parent 0afc8a5958
commit 10acadef62

View File

@ -22,9 +22,10 @@
template <class T, uint8_t FILTER_SIZE>
class DerivativeFilter : public FilterWithBuffer<T,FILTER_SIZE>
{
public:
public:
// constructor
DerivativeFilter() : FilterWithBuffer<T,FILTER_SIZE>() {};
DerivativeFilter() : FilterWithBuffer<T,FILTER_SIZE>() {
};
// update - Add a new raw value to the filter, but don't recalculate
virtual void update(T sample, uint32_t timestamp);
@ -35,7 +36,7 @@ class DerivativeFilter : public FilterWithBuffer<T,FILTER_SIZE>
// reset - clear the filter
virtual void reset();
private:
private:
bool _new_data;
float _last_slope;