mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 05:17:39 +00:00
@@ -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__*/
|
||||
|
Reference in New Issue
Block a user