mirror of https://github.com/FOME-Tech/fome-fw.git
volatile increment warning
This commit is contained in:
parent
de3234c5d7
commit
622e5b84e4
|
@ -69,7 +69,7 @@ void cyclic_buffer<T, maxSize>::add(T value) {
|
||||||
}
|
}
|
||||||
currentIndex = idx;
|
currentIndex = idx;
|
||||||
|
|
||||||
++count;
|
count += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, size_t maxSize>
|
template<typename T, size_t maxSize>
|
||||||
|
|
Loading…
Reference in New Issue