diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-07 10:15:30 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-03-07 10:15:30 +0100 |
commit | 5fea3a40f77417f639de3dbb27797d8e2ecdbaca (patch) | |
tree | 1abc41f902cfb0d01fa20afb42817bb7ff6508f0 /src/sensor/calibration.cpp | |
parent | 49a5d3d3fb0dccf1b993aeea4b803cd079a1e66f (diff) |
fix: make the sensor calibrator take a sensor reference
Diffstat (limited to 'src/sensor/calibration.cpp')
-rw-r--r-- | src/sensor/calibration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensor/calibration.cpp b/src/sensor/calibration.cpp index 42f5010..e01bb34 100644 --- a/src/sensor/calibration.cpp +++ b/src/sensor/calibration.cpp @@ -3,7 +3,7 @@ #include "std/time.hpp" #include "utils.hpp" -SensorCalibrator::SensorCalibrator(Sensor sensor, SerialStream sout) +SensorCalibrator::SensorCalibrator(Sensor &sensor, SerialStream sout) : _sensor(sensor), _sout(sout) { } |