From 5fea3a40f77417f639de3dbb27797d8e2ecdbaca Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 7 Mar 2022 10:15:30 +0100 Subject: fix: make the sensor calibrator take a sensor reference --- src/sensor/calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sensor/calibration.cpp') 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) { } -- cgit v1.2.3-18-g5258