mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-25 18:47:49 +00:00
OutputStream (file M0 -> M4 radio) now works
Disabled numbers station for now (too buggy, low priority)
This commit is contained in:
@@ -56,9 +56,7 @@ BufferExchange::~BufferExchange() {
|
||||
StreamBuffer* BufferExchange::get(FIFO<StreamBuffer*>* fifo) {
|
||||
while(true) {
|
||||
StreamBuffer* p { nullptr };
|
||||
fifo->out(p); // This crashes replay
|
||||
|
||||
//led_tx.on(); // DEBUG
|
||||
fifo->out(p);
|
||||
|
||||
if( p ) {
|
||||
return p;
|
||||
|
@@ -484,6 +484,10 @@ public:
|
||||
size_t size() const {
|
||||
return used_;
|
||||
}
|
||||
|
||||
size_t capacity() const {
|
||||
return capacity_;
|
||||
}
|
||||
|
||||
void set_size(const size_t value) {
|
||||
used_ = value;
|
||||
|
Reference in New Issue
Block a user