From 0b91a042813115beca3c386cc7e1861ee4239393 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 28 Feb 2022 14:09:59 +0100 Subject: refactor: fix sensor calibrator constructor --- 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 40bb52b..827094c 100644 --- a/src/sensor/calibration.cpp +++ b/src/sensor/calibration.cpp @@ -3,7 +3,7 @@ #include "std/time.hpp" #include "utils.hpp" -SensorCalibrator::SensorCalibrator(UniquePtr &sensor, SerialStream sout) +SensorCalibrator::SensorCalibrator(UniquePtr sensor, SerialStream sout) : _sensor(sensor), _sout(sout) { _resetValues(); -- cgit v1.2.3-18-g5258