mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Clear spectrum FIFO when streaming is stopped.
This commit is contained in:
parent
62e5ec1dbb
commit
136ba895ef
@ -37,6 +37,7 @@ void SpectrumCollector::start() {
|
||||
|
||||
void SpectrumCollector::stop() {
|
||||
streaming = false;
|
||||
fifo.reset_in();
|
||||
}
|
||||
|
||||
void SpectrumCollector::set_decimation_factor(
|
||||
|
@ -42,6 +42,10 @@ public:
|
||||
_in = _out = 0;
|
||||
}
|
||||
|
||||
void reset_in() {
|
||||
_in = _out;
|
||||
}
|
||||
|
||||
void reset_out() {
|
||||
_out = _in;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user