mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-06 14:22:19 -04:00
Another default constructor.
This commit is contained in:
parent
d9106b6f44
commit
4f82524e77
1 changed files with 10 additions and 0 deletions
|
@ -159,6 +159,16 @@ struct BasebandConfiguration {
|
|||
int32_t mode;
|
||||
uint32_t sampling_rate;
|
||||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue