RobTillaart / RunningAverage

Arduino library to calculate the running average by means of a circular buffer.
MIT License
53 stars 10 forks source link

replace tests for _array == NULL with _size tests #24

Closed RobTillaart closed 1 year ago

RobTillaart commented 1 year ago

Would make the lib more portable to a template version. Test size==0 would be more explicit about the problem?

RobTillaart commented 1 year ago
RobTillaart commented 1 year ago

Does not add enough imho.