mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-12 15:59:49 -05:00
Use static StreamOutput::fifo for accessor methods.
This commit is contained in:
parent
dc1ba7e6f3
commit
75159fcc00
@ -56,11 +56,11 @@ public:
|
||||
}
|
||||
|
||||
size_t available() {
|
||||
return config.fifo->len();
|
||||
return fifo->len();
|
||||
}
|
||||
|
||||
size_t read(void* const data, const size_t length) {
|
||||
return config.fifo->out(reinterpret_cast<uint8_t*>(data), length);
|
||||
return fifo->out(reinterpret_cast<uint8_t*>(data), length);
|
||||
}
|
||||
|
||||
static FIFO<uint8_t>* fifo;
|
||||
|
Loading…
Reference in New Issue
Block a user