aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/control.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-02-07 13:03:22 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-02-07 13:03:22 +0200
commit589bffe306db793987c17cd46f1dcac81f47bdcb (patch)
tree6c9239daec4d1ba7d2a644a9c7153230d51f0691 /Software/Embedded_SW/Embedded/Modules/Control/control.c
parentaf1c7bd1b6122c1387fe6e2749f9847f4be84b16 (diff)
downloadTango-589bffe306db793987c17cd46f1dcac81f47bdcb.tar.gz
Tango-589bffe306db793987c17cd46f1dcac81f47bdcb.zip
remove some warnings
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c
index bb3149b43..5adf6f83d 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/control.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c
@@ -560,10 +560,12 @@ uint32_t ControlLoop(uint32_t tick)
return OK;
}
uint32_t prevtick = 0;
+#ifdef CONTROL_DEBUG
void ResetControlTime(void)
{
memset(ControlTime,0,sizeof(ControlTime));
}
+#endif
uint32_t ControlLowLoop(uint32_t tick)
{
uint32_t skipped_ticks = 0;