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-12-13 22:34:01 +0300
committerDavid Crocker <dcrocker@eschertech.com>2017-12-13 22:34:30 +0300
commit229508f86623a9969967e1c2bd649858cef65fdd (patch)
tree6ff6999e9e6733c45436733982b366310c5344cf /src/Heating/Sensors/TemperatureSensor.cpp
parentffb6d27e1af0a7bddab84277eef97b836a6ed508 (diff)
Version 1.20RC1
New features: - Heater PWM frequencies are limited to 1kHz to protect the heater mosfets - Tool offsets and fan mapping are now passed to DWC - More free memory is available, especially in the Duet 0.6/0.8.5 build - Maximum bed heaters increased to 4 for the Duet WiFi/Ethernet - The software reset data now records the date/time of the reset if known and a longer stack trace - The maximum length of GCode commands has been increased, in particular to allow long passwords in M587 commands Bug fixes: - Fixed M28/M29 file upload - Fixed some USB/Telnet response formats when in Marlin emulation mode - Fixed move timing when a long slow printing move follows a faster printing move - Heater tuning was not possible in 1.20RC1 - If a file being printed executed a macro right at the start, DWC could assume that the print had already finished (thanks chrishamm)
Diffstat (limited to 'src/Heating/Sensors/TemperatureSensor.cpp')
-rw-r--r--src/Heating/Sensors/TemperatureSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Heating/Sensors/TemperatureSensor.cpp b/src/Heating/Sensors/TemperatureSensor.cpp
index 0634fa4c..f97492e1 100644
--- a/src/Heating/Sensors/TemperatureSensor.cpp
+++ b/src/Heating/Sensors/TemperatureSensor.cpp
@@ -35,7 +35,7 @@ void TemperatureSensor::SetHeaterName(const char *newName)
heaterName = nullptr;
delete oldName;
- if (newName != nullptr)
+ if (newName != nullptr && strlen(newName) != 0)
{
char * const temp = new char[strlen(newName) + 1];
strcpy(temp, newName);