summaryrefslogtreecommitdiff
path: root/src/sensor/calibration.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-28 14:09:59 +0100
committerHampusM <hampus@hampusmat.com>2022-02-28 14:09:59 +0100
commit0b91a042813115beca3c386cc7e1861ee4239393 (patch)
treeb4a020b4d7b7203d08327f003c4ba2f485d44c73 /src/sensor/calibration.cpp
parenta073710151f5530887415fdd3accb3c791ab0f5e (diff)
refactor: fix sensor calibrator constructor
Diffstat (limited to 'src/sensor/calibration.cpp')
-rw-r--r--src/sensor/calibration.cpp2
1 files changed, 1 insertions, 1 deletions
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> &sensor, SerialStream sout)
+SensorCalibrator::SensorCalibrator(UniquePtr<Sensor> sensor, SerialStream sout)
: _sensor(sensor), _sout(sout)
{
_resetValues();