Indicate auto/manual fan speed

This commit is contained in:
BlackMark 2021-02-12 17:12:56 +01:00
parent 5ec4a5441a
commit 76d6b1583b

View File

@ -225,7 +225,8 @@ class Terminal {
m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << detail::ENDL; m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << detail::ENDL;
dtostrf(Controller::m_temperature, 0, 2, floatBuffer); dtostrf(Controller::m_temperature, 0, 2, floatBuffer);
m_serial << F("Temperature .: ") << floatBuffer << F(" C") << detail::ENDL; 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 { } else {
m_serial << F("No data available yet!") << detail::ENDL; m_serial << F("No data available yet!") << detail::ENDL;
} }