aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-10-16 09:08:16 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-10-16 09:08:16 +0300
commit1d2d783fdbbd6500e9b89f4c628affc190ff2b8d (patch)
tree7003e69cbaf3398310d28f15a9da65f8f3e44e05 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parentad07a364922ade9aff41441e13d1f06e6bac8488 (diff)
downloadTango-1d2d783fdbbd6500e9b89f4c628affc190ff2b8d.tar.gz
Tango-1d2d783fdbbd6500e9b89f4c628affc190ff2b8d.zip
heaters correction
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index d2bbad72b..503ef2c37 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -461,21 +461,6 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
//KeepNormalizedError = NormalizedError;
}
calculated_speed = (1-MotorControlConfig[index].m_calculatedError)*OriginalMotorSpd_2PPS[index];
- /*if (index == FEEDER_MOTOR)
- {
- if (KeepReadValue != TranslatedReadValue)
- {
- eNormalizedError[controlIndex] = NormalizedError;
- calculatedError[controlIndex] = MotorControlConfig[index].m_calculatedError;
- readValue[controlIndex] = ReadValue;
- TranslatedreadValue[controlIndex] = TranslatedReadValue;
- AveragereadValue[controlIndex] = avreageSampleValue;
- calculatedspeed[controlIndex] = calculated_speed;
- controlIndex++;
- if (controlIndex >= 99) controlIndex = 0;
- KeepReadValue = TranslatedReadValue;
- }
- }*/
if (abs(calculated_speed-CurrentControlledSpeed[index])>2)
{
/*if (keepdata == true)