Jammer bugfix: now produces all the right channels

This commit is contained in:
furrtek 2017-01-17 14:27:37 +00:00
parent 7cb38f858e
commit f0fbc356ad
16 changed files with 120 additions and 121 deletions

View file

@ -29,7 +29,7 @@
#include "portapack_shared_memory.hpp"
#include "message_queue.hpp"
struct JammerRange {
struct JammerChannel {
bool enabled;
uint64_t center;
uint32_t width;
@ -62,7 +62,7 @@ struct SharedMemory {
union {
ToneData tones_data;
JammerRange jammer_ranges[9];
JammerChannel jammer_channels[9];
uint8_t data[512];
} bb_data { { { { 0, 0 } }, 0, { 0 } } };
};