Another default constructor.

This commit is contained in:
Jared Boone 2015-11-11 10:30:35 -08:00
parent d9106b6f44
commit 4f82524e77

View File

@ -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 {