mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 15:27:40 +00: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:
@@ -87,6 +87,8 @@ public:
|
||||
WidebandSpectrumConfig = 42,
|
||||
FSKConfigure = 43,
|
||||
SSTVConfigure = 44,
|
||||
SigGenConfig = 43,
|
||||
SigGenTone = 44,
|
||||
|
||||
POCSAGPacket = 50,
|
||||
|
||||
@@ -683,6 +685,36 @@ public:
|
||||
const bool ctcss_enabled;
|
||||
};
|
||||
|
||||
class SigGenConfigMessage : public Message {
|
||||
public:
|
||||
constexpr SigGenConfigMessage(
|
||||
const uint32_t bw,
|
||||
const uint32_t shape,
|
||||
const uint32_t duration
|
||||
) : Message { ID::SigGenConfig },
|
||||
bw(bw),
|
||||
shape(shape),
|
||||
duration(duration)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t bw;
|
||||
const uint32_t shape;
|
||||
const uint32_t duration;
|
||||
};
|
||||
|
||||
class SigGenToneMessage : public Message {
|
||||
public:
|
||||
constexpr SigGenToneMessage(
|
||||
const uint32_t tone_delta
|
||||
) : Message { ID::SigGenTone },
|
||||
tone_delta(tone_delta)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t tone_delta;
|
||||
};
|
||||
|
||||
class AFSKConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr AFSKConfigureMessage(
|
||||
|
Reference in New Issue
Block a user