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>2017-10-26 00:36:48 +0300
committerDavid Crocker <dcrocker@eschertech.com>2017-10-26 00:37:05 +0300
commitad73549a01954de291cea135cde2527d1883596e (patch)
tree0fcd0f7b05c9e40e986851c5f6455c0f1f589108 /src/Heating/Sensors/TemperatureSensor.cpp
parentdff15aadac70efe87d3ec952af8b6a3d9acbcf66 (diff)
Version 1.20beta2
New features: On SCARA printera arm position limits are applied as well as XY size limits Heater 0 values are sent to to PanelDue even if there is no heated bed When logging is enabled, log entries are now written for when the date/time/date is set When logging is enabled, "Maximum open file count exceeded" messages are logged Loss of power is now handled much faster. The print is paused in the middle of a move if necessary. The M991 parameters are changed to facilitate this. When resuming a print after loss of power, the head is now moved, sideways and finally down when restoring position Following a power failure, M916 can now be used to resume the print instead of using M98 Presurrect.g The heater control now switches to fast PID parameters when the temperature is within 3C of target, instead of within 1C The TMC2660 Stallguard detection and Coolstep parameters may now be configured using M915. Currently, no action os performed when a stall is signalled. If a heater fault occurs, the print is paused instead of cancelled All error messages relating to incorrect use of a G- or M-code now include the G- or M-number of the command that caused them Increased ADC oversample bits to 2 Duet WiFi: M122 diagnostics now include the wifi module sleep mode and additional network diagnostics You can now disable monitorng of TMC2660 drivers rthat are not in use by using parameter R-1 in the corresponding M569 command The M585 (probe tool) command is now implemented (thanks chrrishamm) If axis lengths are adjusted by probing, a subsequent M500 command saves them in config-override.g If tool offsets are adjusted by probing, a subsequent M500 command saves them in config-override.g The layer counting mechanism has been modified to better handle GCode files that use a different layer height when printing support Debug messages sent to the USB port are truncated or thrown away if a software watchdog reset is imminent XY speed limiting is now done separate for each kinematics, in particular for CoreXY printers Support for Polar kinematics has been added but not tested (see M669 command) The TMC2660 drivers are configured to detect short-to-ground conditions faster The parameters in rr_ http commands are now all order-independent Bug fixes An error in computing the time taken to execute moves that were not yet frozen caused the first movement on a SCARA printer following homing to be jerky An extra space in the output from the M114 command confused Printerface, causing it to print exception messages When tuning a heater, any previous maximum PWM that was set is now ignored
Diffstat (limited to 'src/Heating/Sensors/TemperatureSensor.cpp')
-rw-r--r--src/Heating/Sensors/TemperatureSensor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Heating/Sensors/TemperatureSensor.cpp b/src/Heating/Sensors/TemperatureSensor.cpp
index d6054d2f..852c9796 100644
--- a/src/Heating/Sensors/TemperatureSensor.cpp
+++ b/src/Heating/Sensors/TemperatureSensor.cpp
@@ -12,6 +12,9 @@
#ifdef DUET_NG
#include "DhtSensor.h"
+#endif
+
+#if HAS_SMART_DRIVERS
#include "TmcDriverTemperatureSensor.h"
#endif
@@ -115,7 +118,7 @@ TemperatureSensor *TemperatureSensor::Create(unsigned int channel)
ts = new CpuTemperatureSensor(channel);
}
#endif
-#ifdef DUET_NG
+#if HAS_SMART_DRIVERS
else if (channel >= FirstTmcDriversSenseChannel && channel < FirstTmcDriversSenseChannel + 2)
{
ts = new TmcDriverTemperatureSensor(channel);