Speed improvements

This commit is contained in:
Jan Käberich 2020-10-03 21:56:09 +02:00
parent 5e00b2a7f8
commit 6bc6b1d202
18 changed files with 130 additions and 108 deletions

View file

@ -6,10 +6,10 @@
namespace VNA {
using SweepCallback = void(*)(Protocol::Datapoint);
using SweepCallback = void(*)(const Protocol::Datapoint&);
bool Setup(Protocol::SweepSettings s, SweepCallback cb);
bool MeasurementDone(FPGA::SamplingResult result);
bool MeasurementDone(const FPGA::SamplingResult &result);
void Work();
void SweepHalted();
void Stop();