mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
Jammer ramp mode
Jammer range splitting, hopping. Only 1MHz wide splits for now.
This commit is contained in:
parent
66de53744e
commit
bcbad4629f
7 changed files with 148 additions and 37 deletions
|
|
@ -30,6 +30,13 @@ struct TouchADCFrame {
|
|||
uint32_t dr[8];
|
||||
};
|
||||
|
||||
struct JammerRange {
|
||||
bool active;
|
||||
int64_t center;
|
||||
int64_t width;
|
||||
uint32_t duration;
|
||||
};
|
||||
|
||||
/* NOTE: These structures must be located in the same location in both M4 and M0 binaries */
|
||||
struct SharedMemory {
|
||||
MessageQueue baseband_queue;
|
||||
|
|
@ -50,6 +57,8 @@ struct SharedMemory {
|
|||
uint8_t afsk_repeat;
|
||||
uint32_t afsk_fmmod;
|
||||
bool afsk_transmit_done;
|
||||
|
||||
JammerRange jammer_ranges[16];
|
||||
};
|
||||
|
||||
extern SharedMemory& shared_memory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue