Add hotEnough methods

This commit is contained in:
Scott Lahteine committed 2018-01-22 04:38:37 -06:00
1 parent 7a52dfad55
commit 61bf8478a2
3 files changed
+18 -15

No files matched your search

+3
View File
@@ -188,6 +188,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)