mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 12:12:16 -04:00
Fixed LCR transmit and AFSK baseband module
This commit is contained in:
parent
79f2134d91
commit
e958b4bd7d
18 changed files with 390 additions and 271 deletions
|
@ -85,6 +85,21 @@ void set_xylos_data(const char ccir_message[]) {
|
|||
send_message(&message);
|
||||
}
|
||||
|
||||
void set_afsk_data(const char message_data[], const uint32_t afsk_samples_per_bit, const uint32_t afsk_phase_inc_mark,
|
||||
const uint32_t afsk_phase_inc_space, const uint8_t afsk_repeat, const uint32_t afsk_bw,
|
||||
const bool afsk_alt_format) {
|
||||
const AFSKConfigureMessage message {
|
||||
message_data,
|
||||
afsk_samples_per_bit,
|
||||
afsk_phase_inc_mark,
|
||||
afsk_phase_inc_space,
|
||||
afsk_repeat,
|
||||
afsk_bw,
|
||||
afsk_alt_format
|
||||
};
|
||||
send_message(&message);
|
||||
}
|
||||
|
||||
static bool baseband_image_running = false;
|
||||
|
||||
void run_image(const portapack::spi_flash::image_tag_t image_tag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue