aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/IDS
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-05-13 18:47:54 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-05-13 18:47:54 +0300
commit3f3783fa8a4f103126bdef5e664e5bbd226307ce (patch)
treecce80c4c00d99c22c873b098598b426be54a19b7 /Software/Embedded_SW/Embedded/Modules/IDS
parentcd750d626d3780990797faf09446033bbaa4311c (diff)
downloadTango-3f3783fa8a4f103126bdef5e664e5bbd226307ce.tar.gz
Tango-3f3783fa8a4f103126bdef5e664e5bbd226307ce.zip
waste level measurement improved, fix heating up on gradient job (file checking took too much time)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/IDS')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c b/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
index ae6751693..32895f307 100644
--- a/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
@@ -282,6 +282,12 @@ JobDescriptionFileBrushStop *FirstBrushStop = NULL;
SendJobProgress(0.0,0,false, "Processing file");
Control_WD(ENABLE,55); //activate heaters/dispenser watchdog, 0.5 seconds
}
+ if ((brushCounter % 1000)==0)
+ {
+ Task_sleep(200);
+ Report("Sleep in file parsing",__FILE__, BrushStop->index, brushCounter, RpWarning, Segment->brushstopscount, 0);
+ Control_WD(ENABLE,55); //activate heaters/dispenser watchdog, 0.5 seconds
+ }
brushCounter++;
if (BrushStop->n_dispensers)
{