mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-24 05:43:11 -05:00
Enable Sample Rate to be spec'd in .ini file for Weather & SubGhzDecoder apps (#1659)
This commit is contained in:
parent
36e1b9a36e
commit
19a66fac20
10 changed files with 28 additions and 26 deletions
|
|
@ -1241,10 +1241,11 @@ class SpectrumPainterBufferConfigureResponseMessage : public Message {
|
|||
|
||||
class SubGhzFPRxConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr SubGhzFPRxConfigureMessage(uint8_t modulation = 0)
|
||||
: Message{ID::SubGhzFPRxConfigure}, modulation{modulation} {
|
||||
constexpr SubGhzFPRxConfigureMessage(uint8_t modulation = 0, uint32_t sampling_rate = 0)
|
||||
: Message{ID::SubGhzFPRxConfigure}, modulation{modulation}, sampling_rate{sampling_rate} {
|
||||
}
|
||||
uint8_t modulation = 0; // 0 am, 1 fm
|
||||
uint32_t sampling_rate = 0;
|
||||
};
|
||||
|
||||
class WeatherDataMessage : public Message {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue