aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-10-22 10:59:18 +0300
committerAvi Levkovich <avi@twine-s.com>2020-10-22 10:59:18 +0300
commit7b079047f51c9eac5e8c59afb303bc0043a7c400 (patch)
treece56723563190163ce1e5e492ce4edc85f56164e /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
parent219a7b128d143ef36a5e8ace4d97766b14342517 (diff)
parent8e3e86feb7ceba3e87349d71398b6b5a3c82d42d (diff)
downloadTango-7b079047f51c9eac5e8c59afb303bc0043a7c400.tar.gz
Tango-7b079047f51c9eac5e8c59afb303bc0043a7c400.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 161382af7..b5ff665ef 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -593,7 +593,7 @@ void setRapidPressureRead(bool value)
if (GetDiagnosticMode() == Diagnostic_Extreme_Mode)
RapidPressureRead = true;
}
-bool Shinko_Read = true;
+bool Shinko_Read = false;
uint16_t PumpCounter = 0;
uint16_t realtimetest[101];
uint32_t MillisecLowLoop(uint32_t tick)
@@ -728,12 +728,12 @@ uint32_t MillisecLowLoop(uint32_t tick)
WHS_Shinko_Communication(R_SETUP);
}
else
- if(0)//TBD - need stop condition to write only once (all the steps) , Read_Setup != setup, Read_Setup != 0, Read_Setup != Prev_Read_Setup
+ /*if(0)//TBD - need stop condition to write only once (all the steps) , Read_Setup != setup, Read_Setup != 0, Read_Setup != Prev_Read_Setup
{
// option to wrte + read setup and stop when read = write
WHS_Shinko_Communication(W_SETUP);
}
- else
+ else*/
{
//finish reading the setup before start reading the value
WHS_Shinko_Communication(R_Value); // Reading every fourth cycle (Set HW, Request, Set HW, Response)