From 76d6b1583bee8c800cd4db2750d9a7a7ab003672 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 12 Feb 2021 17:12:56 +0100 Subject: [PATCH] Indicate auto/manual fan speed --- fantemp/terminal.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fantemp/terminal.hpp b/fantemp/terminal.hpp index 430f0d4..7190d84 100644 --- a/fantemp/terminal.hpp +++ b/fantemp/terminal.hpp @@ -225,7 +225,8 @@ class Terminal { m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << detail::ENDL; dtostrf(Controller::m_temperature, 0, 2, floatBuffer); m_serial << F("Temperature .: ") << floatBuffer << F(" C") << detail::ENDL; - m_serial << F("Fan speed ...: ") << Controller::m_fanSpeed << F("%") << detail::ENDL; + m_serial << F("Fan speed ...: ") << Controller::m_fanSpeed << F("%") + << (Controller::m_autoMode ? F(" auto") : F(" manual")) << detail::ENDL; } else { m_serial << F("No data available yet!") << detail::ENDL; }