Add hotEnough methods

This commit is contained in:
Scott Lahteine 2018-01-20 18:40:00 -06:00
parent 74873f377d
commit c970869d74
3 changed files with 18 additions and 15 deletions

View file

@ -196,6 +196,9 @@ class Temperature {
FORCE_INLINE static bool targetTooColdToExtrude(const uint8_t e) { UNUSED(e); return false; }
#endif
FORCE_INLINE static bool hotEnoughToExtrude(const uint8_t e) { return !tooColdToExtrude(e); }
FORCE_INLINE static bool targetHotEnoughToExtrude(const uint8_t e) { return !targetTooColdToExtrude(e); }
private:
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)