mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 00:59:28 +00:00
Move app_analog_audio.hpp code to .cpp.
This commit is contained in:
@@ -24,18 +24,10 @@
|
||||
|
||||
#include "receiver_model.hpp"
|
||||
#include "ui_spectrum.hpp"
|
||||
#include "utility.hpp"
|
||||
|
||||
class AnalogAudioModel {
|
||||
public:
|
||||
AnalogAudioModel(ReceiverModel::Mode mode) {
|
||||
receiver_model.set_baseband_configuration({
|
||||
.mode = toUType(mode),
|
||||
.sampling_rate = 3072000,
|
||||
.decimation_factor = 4,
|
||||
});
|
||||
receiver_model.set_baseband_bandwidth(1750000);
|
||||
}
|
||||
AnalogAudioModel(ReceiverModel::Mode mode);
|
||||
};
|
||||
|
||||
namespace ui {
|
||||
|
||||
Reference in New Issue
Block a user