Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/Fan.h
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2016-11-05 23:00:39 +0300
committerDavid Crocker <dcrocker@eschertech.com>2016-11-05 23:01:02 +0300
commit619e5c489f7a29dc78fe900e16ee0ea5a13df4c5 (patch)
tree36d599f39034a764e17e36fc8138c8c91aec8de6 /src/Fan.h
parent6f71c760185f338843870b1642a540c3dce5b2c8 (diff)
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
Diffstat (limited to 'src/Fan.h')
-rw-r--r--src/Fan.h2
1 files changed, 2 insertions, 0 deletions
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);