From d158d2e52229c221d1d475ced6b1ff048d6519ad Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Mon, 19 Oct 2020 17:15:51 +0300 Subject: change RAM FLASH SIZE and location. some progress on the machine --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 2428ef465..62a52bcf3 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) @@ -727,12 +727,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) -- cgit v1.3.1