mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-08 15:12:39 -04:00
Tone generator class
This commit is contained in:
parent
32ae059c44
commit
1b93dd53e8
16 changed files with 143 additions and 78 deletions
|
@ -153,13 +153,13 @@ void kill_afsk() {
|
|||
}
|
||||
|
||||
void set_audiotx_data(const uint32_t divider, const uint32_t bw, const uint32_t gain_x10,
|
||||
const bool ctcss_enabled, const uint32_t ctcss_phase_inc) {
|
||||
const uint32_t tone_key_delta, const float tone_key_mix_weight) {
|
||||
const AudioTXConfigMessage message {
|
||||
divider,
|
||||
bw,
|
||||
gain_x10,
|
||||
ctcss_phase_inc,
|
||||
ctcss_enabled
|
||||
tone_key_delta,
|
||||
tone_key_mix_weight
|
||||
};
|
||||
send_message(&message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue