diff options
Diffstat (limited to 'minion/src/temperature.hpp')
| -rw-r--r-- | minion/src/temperature.hpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/minion/src/temperature.hpp b/minion/src/temperature.hpp index dcc213c..a4eea71 100644 --- a/minion/src/temperature.hpp +++ b/minion/src/temperature.hpp @@ -20,7 +20,10 @@ constexpr auto BITS_IN_BYTE = 8U;  enum class TemperatureSensorStatus  {  	OK, -	TIMEOUT, +	LOW_RESPONSE_SIGNAL_TIMEOUT, +	HIGH_RESPONSE_SIGNAL_TIMEOUT, +	START_TO_TRANSMIT_SIGNAL_TIMEOUT, +	DATA_TRANSMIT_TIMEOUT,  	CHECKSUM_ERROR  }; @@ -39,4 +42,6 @@ private:  	uint8_t _temperature{};  	auto _wait_read(uint8_t level, size_t timeout_micros) noexcept -> bool; + +	void _restore_pin() noexcept;  }; | 
