HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added suspend and pause console commands
[clinton/Smoothieware.git]
/
src
/
modules
/
tools
/
temperaturecontrol
/
TemperatureControl.cpp
diff --git
a/src/modules/tools/temperaturecontrol/TemperatureControl.cpp
b/src/modules/tools/temperaturecontrol/TemperatureControl.cpp
index
6d77601
..
127be86
100644
(file)
--- a/
src/modules/tools/temperaturecontrol/TemperatureControl.cpp
+++ b/
src/modules/tools/temperaturecontrol/TemperatureControl.cpp
@@
-359,7
+359,7
@@
uint32_t TemperatureControl::thermistor_read_tick(uint32_t dummy)
heater_pin.set((this->o = 0));
} else {
pid_process(temperature);
- if (
(temperature > target_temperature) && waiting
) {
+ if (
waiting && (temperature >= target_temperature)
) {
THEKERNEL->pauser->release();
waiting = false;
}