Separate weather and sgd, bc of baseband size limit

This commit is contained in:
HTotoo
2023-12-09 22:01:15 +01:00
parent 28d89fbb88
commit 76cd0e1771
13 changed files with 341 additions and 27 deletions
+2 -4
View File
@@ -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
};
+2 -1
View File
@@ -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'};