From 325242bcd9ccbc97bb14b4ca91d01fc7bd999739 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Wed, 30 Dec 2020 18:10:58 +0200 Subject: Add support for setting temerature to shinko call the function Shinko_Set_temperature(NewTemperature) --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Control') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index c5fffff60..1eecca49e 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -840,7 +840,7 @@ uint32_t MillisecLowLoop(uint32_t tick) } */ - if(Shinko_first_read < 2)//read the two steps once and than in cycle every 10 minutes, also will be used to read after updating the temperature + if((Shinko_first_read < 2) || (Shinko_Read_Satage == 3))//read the two steps once and than in cycle every 10 minutes, also will be used to read after updating the temperature { Shinko_Cycle_Comm(); } -- cgit v1.3.1