diff options
Diffstat (limited to 'src/sensor/sensor.hpp')
-rw-r--r-- | src/sensor/sensor.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sensor/sensor.hpp b/src/sensor/sensor.hpp index 1e7e488..1b99f6e 100644 --- a/src/sensor/sensor.hpp +++ b/src/sensor/sensor.hpp @@ -1,7 +1,6 @@ #pragma once #include "common/time.hpp" -#include "serial.hpp" #include <Arduino.h> #include <Wire.h> @@ -33,10 +32,9 @@ public: * * @param address The address of the sensor * @param wire A Wire instance - * @param sout A serial output stream * @param throttle_time A minumum time between sensor reads for the sensor to throttle */ - Sensor(uint8_t address, TwoWire wire, SerialStream sout, unsigned int throttle_time); + Sensor(uint8_t address, TwoWire wire, unsigned int throttle_time) noexcept; /** * Initializes communication with the sensor. @@ -157,7 +155,6 @@ public: private: TwoWire _wire; - SerialStream _sout; uint8_t _address; |