mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Change FIFO is_full() to make more sense.
This commit is contained in:
parent
ea8c186fcf
commit
b05923eab6
@ -59,7 +59,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_full() const {
|
bool is_full() const {
|
||||||
return len() > mask();
|
return unused() == 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
bool in(const T& val) {
|
bool in(const T& val) {
|
||||||
|
Loading…
Reference in New Issue
Block a user