From 619e5c489f7a29dc78fe900e16ee0ea5a13df4c5 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Sat, 5 Nov 2016 20:00:39 +0000 Subject: Version 1.16rc2 Fixed several bugs in file time stamping Fixed M280 and M42 commands using unused heaster channels on Duet 0.6 and 0.8.5 Reduced the amount of I2C traffic, by using DueX5 interrupt line to tell if new data is available and by only sending fan PWM values when they change Display TMC2660 driver status and DueX2/X5 stall status in M122 response Removed E parameter from M574 command (use M558 I parameter instead) Fixed response to M307 with H parameter only --- src/Fan.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fan.h') diff --git a/src/Fan.h b/src/Fan.h index 9193428b..9e31feb4 100644 --- a/src/Fan.h +++ b/src/Fan.h @@ -16,6 +16,7 @@ private: float val; float minVal; float triggerTemperature; + float lastPwm; uint32_t blipTime; // in milliseconds uint32_t blipStartTime; uint16_t freq; @@ -23,6 +24,7 @@ private: Pin pin; bool inverted; bool hardwareInverted; + bool blipping; void Refresh(); void SetHardwarePwm(float pwmVal); -- cgit v1.2.3