mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-05 21:24:27 -04:00
Setfreq usb command (#2235)
* SetFreq usb command for rx apps * code format, better check
This commit is contained in:
parent
a2c4fefe34
commit
02b75f567a
30 changed files with 202 additions and 0 deletions
|
@ -125,6 +125,7 @@ class Message {
|
|||
PocsagTosend = 67,
|
||||
BatteryStateData = 68,
|
||||
ProtoViewData = 69,
|
||||
FreqChangeCommand = 70,
|
||||
MAX
|
||||
};
|
||||
|
||||
|
@ -1427,4 +1428,11 @@ class ProtoViewDataMessage : public Message {
|
|||
const uint16_t maxptr = 99;
|
||||
};
|
||||
|
||||
class FreqChangeCommandMessage : public Message {
|
||||
public:
|
||||
constexpr FreqChangeCommandMessage(int64_t freq)
|
||||
: Message{ID::FreqChangeCommand}, freq{freq} {}
|
||||
int64_t freq = 0;
|
||||
};
|
||||
|
||||
#endif /*__MESSAGE_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue