mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 08:55:39 -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,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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue