diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-11 17:42:09 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-11 17:42:09 +0200 |
| commit | 777f4ccf2d081fc70a7800d7c42a9e58035c20ef (patch) | |
| tree | ab31d3060a27529ff7ab3938baa9959aba5f4158 /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | e180cdba61271dde09bd26c0dd5879648fe13933 (diff) | |
| parent | 6eb3026ffcb3f10c832ae80b92b0936a19954750 (diff) | |
| download | Tango-777f4ccf2d081fc70a7800d7c42a9e58035c20ef.tar.gz Tango-777f4ccf2d081fc70a7800d7c42a9e58035c20ef.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c index bb7bbaa92..78cdd5324 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/control.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c @@ -363,6 +363,9 @@ uint32_t ControlLoop(uint32_t tick) LOG_ERROR (Device_i, "Invalid callback ptr"); } break; + case eNoControl: + memset (&ControlArray[Device_i],0,sizeof(ControlDeviceStruc) ); + break; default: LOG_ERROR (ControlArray[Device_i].ControlTiming, "Invalid control timing value"); break; |
