Improved close call precision

This commit is contained in:
furrtek
2016-05-13 01:18:04 +02:00
parent 7d193c3445
commit 9149508c83
23 changed files with 184 additions and 44 deletions

View File

@@ -237,15 +237,26 @@ public:
Stopped = 0,
Running = 1,
};
constexpr SpectrumStreamingConfigMessage(
Mode mode
) : Message { ID::SpectrumStreamingConfig },
mode { mode }
mode { mode },
decimation_factor { 1 }
{
}
constexpr SpectrumStreamingConfigMessage(
Mode mode,
size_t decimation_factor
) : Message { ID::SpectrumStreamingConfig },
mode { mode },
decimation_factor { decimation_factor }
{
}
Mode mode { Mode::Stopped };
size_t decimation_factor = 1;
};
struct ChannelSpectrum {