mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
parent
96a60e82bc
commit
9211975868
17 changed files with 669 additions and 7 deletions
|
|
@ -124,6 +124,7 @@ class Message {
|
|||
AudioBeep = 66,
|
||||
PocsagTosend = 67,
|
||||
BatteryStateData = 68,
|
||||
ProtoViewData = 69,
|
||||
MAX
|
||||
};
|
||||
|
||||
|
|
@ -1426,4 +1427,13 @@ class BatteryStateMessage : public Message {
|
|||
uint16_t voltage = 0; // mV
|
||||
};
|
||||
|
||||
class ProtoViewDataMessage : public Message {
|
||||
public:
|
||||
constexpr ProtoViewDataMessage()
|
||||
: Message{ID::ProtoViewData} {}
|
||||
int32_t times[100] = {0}; // positive: high, negative: low
|
||||
uint16_t timeptr = 0;
|
||||
const uint16_t maxptr = 99;
|
||||
};
|
||||
|
||||
#endif /*__MESSAGE_H__*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue