mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
Remove now-unused FSKConfiguration message.
This commit is contained in:
parent
981c2fbfbd
commit
791b2a9762
3 changed files with 0 additions and 52 deletions
|
@ -180,10 +180,6 @@ void ReceiverModel::update_baseband_configuration() {
|
|||
BasebandConfigurationMessage message { baseband_configuration };
|
||||
shared_memory.baseband_queue.push(message);
|
||||
|
||||
if( baseband_configuration.mode == 3 ) {
|
||||
update_fsk_configuration();
|
||||
}
|
||||
|
||||
radio::streaming_enable();
|
||||
}
|
||||
|
||||
|
@ -193,26 +189,3 @@ void ReceiverModel::update_headphone_volume() {
|
|||
|
||||
audio_codec.set_headphone_volume(headphone_volume_);
|
||||
}
|
||||
|
||||
static constexpr FSKConfiguration fsk_configuration_ais = {
|
||||
.symbol_rate = 9600,
|
||||
.access_code = 0b0101010101111110,
|
||||
.access_code_length = 16,
|
||||
.access_code_tolerance = 0,
|
||||
.unstuffing_pattern = 0b111110,
|
||||
.unstuffing_length = 6,
|
||||
};
|
||||
|
||||
static constexpr FSKConfiguration fsk_configuration_tpms_a = {
|
||||
.symbol_rate = 19200,
|
||||
.access_code = 0b0101010101010101010101010110,
|
||||
.access_code_length = 28,
|
||||
.access_code_tolerance = 1,
|
||||
.unstuffing_pattern = 0,
|
||||
.unstuffing_length = 0,
|
||||
};
|
||||
|
||||
void ReceiverModel::update_fsk_configuration() {
|
||||
FSKConfigurationMessage message { fsk_configuration_ais };
|
||||
shared_memory.baseband_queue.push(message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue