mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 13:27:40 +00:00
Move FIFO and write size to CaptureConfig structure.
Now configured from baseband, where write size and appropriate FIFO size is known.
This commit is contained in:
@@ -85,7 +85,7 @@ void CaptureProcessor::on_message(const Message* const message) {
|
||||
|
||||
void CaptureProcessor::capture_config(const CaptureConfigMessage& message) {
|
||||
if( message.config ) {
|
||||
stream = std::make_unique<StreamInput>(15, *message.config);
|
||||
stream = std::make_unique<StreamInput>(*message.config);
|
||||
} else {
|
||||
stream.reset();
|
||||
}
|
||||
|
Reference in New Issue
Block a user