aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-12-10 09:11:38 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-12-10 09:11:38 +0200
commit397adba1c72901a4bb15e5d69b6a6c8e07488ea7 (patch)
treedeab81743016ad4e866529c11d2d06973081091c /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parent0f39b726de2c75589ff5b4805669966c8878d27f (diff)
downloadTango-397adba1c72901a4bb15e5d69b6a6c8e07488ea7.tar.gz
Tango-397adba1c72901a4bb15e5d69b6a6c8e07488ea7.zip
1.2.0.2 Heaters control 1 second, valve timeout 1 second. in process, stop dispenser only after this 1 second. open valve to waste on init
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index 76783ee92..76c0fbfd8 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -317,7 +317,7 @@ uint32_t ThreadControlSpeedReadFunction(uint32_t IfIndex, uint32_t ReadValue)
}
//double eNormalizedError[100];
//int TranslatedreadValue[100];
-#define MAX_THREAD_CONTROL_LOG 300
+#define MAX_THREAD_CONTROL_LOG 100
double calculatedError[MAX_THREAD_CONTROL_LOG+1];
double NormError[MAX_THREAD_CONTROL_LOG+1];
double mIntegral[MAX_THREAD_CONTROL_LOG+1];