Filter - remove obsolete warning from comments re alloc/malloc dangers

This commit is contained in:
rmackay9 2012-03-25 16:14:07 +09:00
parent 441413f1c6
commit bdda74fd28
2 changed files with 1 additions and 4 deletions

View File

@ -8,8 +8,6 @@
/// @file AverageFilter.h
/// @brief A class to provide the average of a number of samples
///
/// DO NOT CREATE AND DESTROY INSTANCES OF THIS CLASS BECAUSE THE ALLOC/MALLOC WILL LEAD TO MEMORY FRAGMENTATION
#ifndef AverageFilter_h
#define AverageFilter_h
@ -20,6 +18,7 @@
// 1st parameter <T> is the type of data being filtered.
// 2nd parameter <U> is a larger data type used during summation to prevent overflows
// 3rd parameter <FILTER_SIZE> is the number of elements in the filter
template <class T, class U, uint8_t FILTER_SIZE>
class AverageFilter : public FilterWithBuffer<T,FILTER_SIZE>
{

View File

@ -9,8 +9,6 @@
/// @file ModeFilter.h
/// @brief A class to apply a mode filter which is basically picking the median value from the last x samples
/// the filter size (i.e buffer size) should always be an odd number
///
/// DO NOT CREATE AND DESTROY INSTANCES OF THIS CLASS BECAUSE THE ALLOC/MALLOC WILL LEAD TO MEMORY FRAGMENTATION
#ifndef ModeFilter_h
#define ModeFilter_h