mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
Testing OOK TX baseband module
This commit is contained in:
parent
1b44b22419
commit
787f656500
10 changed files with 399 additions and 81 deletions
|
@ -109,6 +109,16 @@ void set_pwmrssi(int32_t avg, bool enabled) {
|
|||
send_message(&message);
|
||||
}
|
||||
|
||||
void set_ook_data(const char ook_bitstream[], uint32_t stream_length, uint32_t samples_per_bit, uint8_t repeat) {
|
||||
const OOKConfigureMessage message {
|
||||
ook_bitstream,
|
||||
stream_length,
|
||||
samples_per_bit,
|
||||
repeat
|
||||
};
|
||||
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