Expand auto-format coverage and tiny style changes

This commit is contained in:
kamilritz
2020-01-27 16:54:25 +01:00
committed by Mathieu Bresciani
parent fbdd75da2e
commit f20726d47f
12 changed files with 178 additions and 228 deletions
+2
View File
@@ -60,6 +60,7 @@ public:
RingBuffer &operator=(RingBuffer &&) = delete;
bool allocate(uint8_t size) {
if (_buffer != nullptr) {
delete[] _buffer;
}
@@ -92,6 +93,7 @@ public:
}
void push(const data_type &sample) {
uint8_t head_new = _head;
if (!_first_write) {