mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 18:19:08 -04:00
"CW generator" and "Whistle" merged in "Signal generator"
Added wave shape selection and tone frequency auto-update Converted color icons to B&W
This commit is contained in:
parent
93c5959df6
commit
58f113d153
38 changed files with 758 additions and 374 deletions
|
@ -87,9 +87,9 @@ void JammerProcessor::execute(const buffer_c8_t& buffer) {
|
|||
};
|
||||
|
||||
void JammerProcessor::on_message(const Message* const msg) {
|
||||
const auto message = *reinterpret_cast<const JammerConfigureMessage*>(msg);
|
||||
|
||||
if (message.id == Message::ID::JammerConfigure) {
|
||||
if (msg->id == Message::ID::JammerConfigure) {
|
||||
const auto message = *reinterpret_cast<const JammerConfigureMessage*>(msg);
|
||||
|
||||
if (message.run) {
|
||||
jammer_channels = (JammerChannel*)shared_memory.bb_data.data;
|
||||
noise_type = message.type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue