Make RingBuffer class template-based
This commit allows enlarging the ringbuffer for specific needs (at compile time). Cherry-picked from https://github.com/arduino/ArduinoCore-samd/commit/503a9b39545aeb09e610aec0f639a7f6a7949368
M
Martino Facchin committed
e952b6817d9f09bb2f66a52728a13c680ceb5ab8
Parent: b5faca5