mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 08:39:29 +00:00
Separate weather and sgd, bc of baseband size limit
This commit is contained in:
@@ -1241,11 +1241,9 @@ class SpectrumPainterBufferConfigureResponseMessage : public Message {
|
||||
|
||||
class SubGhzFPRxConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr SubGhzFPRxConfigureMessage(uint8_t protoMode = 0, uint8_t modulation = 0)
|
||||
: Message{ID::WeatherRxConfigure}, protoMode{protoMode}, modulation{modulation} {
|
||||
// todoh give some more info
|
||||
constexpr SubGhzFPRxConfigureMessage(uint8_t modulation = 0)
|
||||
: Message{ID::WeatherRxConfigure}, modulation{modulation} {
|
||||
}
|
||||
uint8_t protoMode = 0; // 0 weather, 1 subhgzd
|
||||
uint8_t modulation = 0; // 0 am, 1 fm
|
||||
};
|
||||
|
||||
|
||||
@@ -112,7 +112,8 @@ constexpr image_tag_t image_tag_tones{'P', 'T', 'O', 'N'};
|
||||
constexpr image_tag_t image_tag_flash_utility{'P', 'F', 'U', 'T'};
|
||||
constexpr image_tag_t image_tag_usb_sd{'P', 'U', 'S', 'B'};
|
||||
|
||||
constexpr image_tag_t image_tag_subghzd{'P', 'W', 'T', 'H'};
|
||||
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_noop{'P', 'N', 'O', 'P'};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user