mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-11 23:39:29 -05:00
Another default constructor.
This commit is contained in:
parent
d9106b6f44
commit
4f82524e77
@ -159,6 +159,16 @@ struct BasebandConfiguration {
|
|||||||
int32_t mode;
|
int32_t mode;
|
||||||
uint32_t sampling_rate;
|
uint32_t sampling_rate;
|
||||||
size_t decimation_factor;
|
size_t decimation_factor;
|
||||||
|
|
||||||
|
constexpr BasebandConfiguration(
|
||||||
|
int32_t mode = -1,
|
||||||
|
uint32_t sampling_rate = 0,
|
||||||
|
size_t decimation_factor = 1
|
||||||
|
) : mode { mode },
|
||||||
|
sampling_rate { sampling_rate },
|
||||||
|
decimation_factor { decimation_factor }
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class BasebandConfigurationMessage : public Message {
|
class BasebandConfigurationMessage : public Message {
|
||||||
|
Loading…
Reference in New Issue
Block a user