mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-14 10:39:30 +00:00
Subcar (#2893)
This commit is contained in:
@@ -145,6 +145,7 @@ class Message {
|
||||
SSTVRXProgress = 87,
|
||||
SSTVRXPhaseSlant = 88,
|
||||
SSTVRXCalibration = 89,
|
||||
SubCarData = 90,
|
||||
MAX
|
||||
};
|
||||
|
||||
@@ -1679,4 +1680,23 @@ class FlexDebugMessage : public Message {
|
||||
char text[64];
|
||||
};
|
||||
|
||||
class SubCarDataMessage : public Message {
|
||||
public:
|
||||
constexpr SubCarDataMessage(
|
||||
uint8_t sensorType = 0,
|
||||
uint16_t bits = 0,
|
||||
uint64_t data = 0,
|
||||
uint64_t data2 = 0)
|
||||
: Message{ID::SubCarData},
|
||||
sensorType{sensorType},
|
||||
bits{bits},
|
||||
data{data},
|
||||
data2{data2} {
|
||||
}
|
||||
uint8_t sensorType = 0;
|
||||
uint16_t bits = 0;
|
||||
uint64_t data = 0;
|
||||
uint64_t data2 = 0;
|
||||
};
|
||||
|
||||
#endif /*__MESSAGE_H__*/
|
||||
|
||||
@@ -119,6 +119,7 @@ constexpr image_tag_t image_tag_usb_sd{'P', 'U', 'S', 'B'};
|
||||
|
||||
constexpr image_tag_t image_tag_weather{'P', 'W', 'T', 'H'};
|
||||
constexpr image_tag_t image_tag_subghzd{'P', 'S', 'G', 'D'};
|
||||
constexpr image_tag_t image_tag_subcar{'P', 'S', 'C', 'D'};
|
||||
constexpr image_tag_t image_tag_protoview{'P', 'P', 'V', 'W'};
|
||||
constexpr image_tag_t image_tag_wefaxrx{'P', 'W', 'F', 'X'};
|
||||
constexpr image_tag_t image_tag_noaaapt_rx{'P', 'N', 'O', 'A'};
|
||||
|
||||
Reference in New Issue
Block a user