Restore LED light color after pid tuning (#12082)
This commit is contained in:
committed by
Scott Lahteine
parent
9f77df2590
commit
323c088356
@@ -38,18 +38,18 @@ private:
|
||||
|
||||
public:
|
||||
#if HAS_TEMP_HOTEND
|
||||
FORCE_INLINE static void onHotendHeatingStart() { old_intensity = 0; }
|
||||
FORCE_INLINE static LEDColor onHotendHeatingStart() { old_intensity = 0; return leds.get_color(); }
|
||||
static void onHotendHeating(const float &start, const float ¤t, const float &target);
|
||||
#endif
|
||||
|
||||
#if HAS_HEATED_BED
|
||||
FORCE_INLINE static void onBedHeatingStart() { old_intensity = 127; }
|
||||
FORCE_INLINE static LEDColor onBedHeatingStart() { old_intensity = 127; return leds.get_color(); }
|
||||
static void onBedHeating(const float &start, const float ¤t, const float &target);
|
||||
#endif
|
||||
|
||||
#if HAS_TEMP_HOTEND || HAS_HEATED_BED
|
||||
FORCE_INLINE static void onHeated() { leds.set_white(); }
|
||||
FORCE_INLINE static void onHeatersOff() { leds.set_off(); }
|
||||
FORCE_INLINE static void onHeated() { leds.set_color(LEDColorWhite()); }
|
||||
FORCE_INLINE static void onPidTuningDone(LEDColor c) { leds.set_color(c); }
|
||||
#endif
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
|
||||
Reference in New Issue
Block a user