mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
alejandro's changes from ESRF
This commit is contained in:
@ -134,7 +134,7 @@ bool CircularFifo<Element>::isEmpty() const
|
||||
template<typename Element>
|
||||
bool CircularFifo<Element>::isFull() const
|
||||
{
|
||||
int tailCheck = (tail+1) % Capacity;
|
||||
int tailCheck = increment(tail);
|
||||
return (tailCheck == head);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user