mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 03:26:40 -04:00
Fix baseband thread init order bug for all procs. (#1293)
This commit is contained in:
parent
828eb67a52
commit
7bd370b5bc
46 changed files with 226 additions and 174 deletions
|
@ -31,13 +31,10 @@ CaptureProcessor::CaptureProcessor() {
|
|||
decim_1.configure(taps_200k_decim_1.taps, 131072);
|
||||
|
||||
channel_spectrum.set_decimation_factor(1);
|
||||
ready = true;
|
||||
baseband_thread.start();
|
||||
}
|
||||
|
||||
void CaptureProcessor::execute(const buffer_c8_t& buffer) {
|
||||
if (!ready)
|
||||
return;
|
||||
|
||||
/* 2.4576MHz, 2048 samples */
|
||||
const auto decim_0_out = decim_0.execute(buffer, dst_buffer);
|
||||
const auto decim_1_out = decim_1.execute(decim_0_out, dst_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue