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
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-04-29 15:25:32 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-04-29 15:25:32 +0300
commite96b00a69cfb4f80c78ae3b81659dfde53897602 (patch)
treefcdd94abb180f40d97f00312bae686252cdfff86 /src/Fans/Fan.h
parent0795db718c8b5be5b0c3ffaeed0330e517971552 (diff)
Various fixes
Fans 'lastVal' variable is now -1 if we don't know the actual PWM, also -1 is reported as actualValue in the OM OM now includes hidden axes Added raw mode aux flag, set by M575 but not used yet When increasing the number of visible axes, copy the new axis positions from the user coordinates to the move buffer before copying them on to the DDA Increase seq.move when M584 is used
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r--src/Fans/Fan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h
index b3e10b73..2539ed5a 100644
--- a/src/Fans/Fan.h
+++ b/src/Fans/Fan.h
@@ -64,7 +64,7 @@ protected:
// Variables that control the fan
float val; // the value requested in the M106 command
- float lastVal; // the last PWM value we sent to the fan, not allowing for blipping
+ float lastVal; // the last PWM value we sent to the fan, not allowing for blipping, or -1 if we don't know it
float minVal;
float maxVal;
float triggerTemperatures[2];