diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-30 16:55:54 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-30 16:55:54 +0300 |
| commit | bd103be9febc3034bcb803b470adf37e67d326cb (patch) | |
| tree | 2401da582d78707897e1b9819b5aaf34d51843fa /Software/Embedded_SW | |
| parent | a122c7edcc87e9ca32c24851337021b1633cd31c (diff) | |
| download | Tango-bd103be9febc3034bcb803b470adf37e67d326cb.tar.gz Tango-bd103be9febc3034bcb803b470adf37e67d326cb.zip | |
small change
Diffstat (limited to 'Software/Embedded_SW')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c | 2 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c index 4402ec2f1..7aaab41c1 100644 --- a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c @@ -849,7 +849,7 @@ uint32_t HeaterControlCBFunction(uint32_t IfIndex, uint32_t readValue) if (readValue < ((HeaterCmd[index].targettemperatue * (100-HeaterControl[index].outputproportionalband))/100)) //if (readValue < (/*HeaterCmd[index].targettemperatue * AcHeatersLoweroperationLimit/1000*/HeaterCmd[index].targettemperatue-800)) { - Report("AC Activating",__FILE__,index,HeaterPreviousRead[index],RpWarning,readValue, index); + //Report("AC Activating",__FILE__,index,HeaterPreviousRead[index],RpWarning,readValue, index); if ((HeaterMaxTempFlag[HARDWARE_PID_CONTROL_TYPE__DryerHeaterSecondary] == false)&&(HeaterMaxTempFlag[HARDWARE_PID_CONTROL_TYPE__DryerHeaterMain] == false)) { ActivateHeater(HARDWARE_PID_CONTROL_TYPE__DryerHeaterSecondary); diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c index 96b2b372e..1bd07c06e 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c @@ -808,7 +808,10 @@ void SendJobProgress(double ProcessedLength, int SegmentId, bool done, char *Mes if (done == true) { if (CurrentRequest!= NULL) + { job_request__free_unpacked(CurrentRequest,NULL); + CurrentRequest = NULL; + } JobStopReporting(); JobMessageStruc JobMessage; |
