mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 15:29:37 -05:00
Send NBFM configuration message from M0 to M4.
This commit is contained in:
parent
0497dbf62f
commit
7496c2aced
@ -22,6 +22,7 @@
|
|||||||
#include "analog_audio_app.hpp"
|
#include "analog_audio_app.hpp"
|
||||||
|
|
||||||
#include "portapack.hpp"
|
#include "portapack.hpp"
|
||||||
|
#include "portapack_shared_memory.hpp"
|
||||||
using namespace portapack;
|
using namespace portapack;
|
||||||
|
|
||||||
#include "utility.hpp"
|
#include "utility.hpp"
|
||||||
@ -33,4 +34,14 @@ AnalogAudioModel::AnalogAudioModel(ReceiverModel::Mode mode) {
|
|||||||
.decimation_factor = 1,
|
.decimation_factor = 1,
|
||||||
});
|
});
|
||||||
receiver_model.set_baseband_bandwidth(1750000);
|
receiver_model.set_baseband_bandwidth(1750000);
|
||||||
|
|
||||||
|
if( mode == ReceiverModel::Mode::NarrowbandFMAudio ) {
|
||||||
|
const NBFMConfigureMessage message {
|
||||||
|
taps_4k25_decim_0,
|
||||||
|
taps_4k25_decim_1,
|
||||||
|
taps_4k25_channel,
|
||||||
|
2500,
|
||||||
|
};
|
||||||
|
shared_memory.baseband_queue.push(message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user