mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
Merged remote-tracking branch 'upstream/master'
This commit is contained in:
commit
835d581e6c
135 changed files with 8512 additions and 7734 deletions
|
@ -119,8 +119,7 @@ void TransmitterModel::disable() {
|
|||
.decimation_factor = 1,
|
||||
}
|
||||
};
|
||||
shared_memory.baseband_queue.push(&message);
|
||||
while( !message.is_free() );
|
||||
shared_memory.baseband_queue.push(message);
|
||||
|
||||
radio::disable();
|
||||
}
|
||||
|
@ -154,13 +153,14 @@ void TransmitterModel::update_modulation() {
|
|||
}
|
||||
|
||||
void TransmitterModel::update_baseband_configuration() {
|
||||
radio::streaming_disable();
|
||||
|
||||
clock_manager.set_sampling_frequency(sampling_rate() * baseband_oversampling());
|
||||
update_tuning_frequency();
|
||||
radio::set_baseband_decimation_by(baseband_oversampling());
|
||||
|
||||
BasebandConfigurationMessage message { baseband_configuration };
|
||||
shared_memory.baseband_queue.push(&message);
|
||||
shared_memory.baseband_queue.push(message);
|
||||
|
||||
// Block until message is consumed, since we allocated it on the stack.
|
||||
while( !message.is_free() );
|
||||
radio::streaming_enable();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue