diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-03 18:07:30 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-03 18:07:30 +0200 |
| commit | 97ae338e0413613ee5a0d135f8226ee42ba4aa06 (patch) | |
| tree | 949c46b0ccf12b61df0ad2350b2cebeb16200684 /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | 4a872407f8599f632eff9a951af20014412194aa (diff) | |
| parent | 5cc8834aace78d60bada2802ac8817561292af66 (diff) | |
| download | Tango-97ae338e0413613ee5a0d135f8226ee42ba4aa06.tar.gz Tango-97ae338e0413613ee5a0d135f8226ee42ba4aa06.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 64b6ac4e0..1ab3a21e9 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -541,6 +541,13 @@ uint32_t MillisecLowLoop(uint32_t tick) FPGA_GetAllDispensersValveBusyOCD(); DrawerFansStatus = Read_Fans_Tacho(); KeepAliveOneSecondCall(); + for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++) + { + if (Motor_i == HARDWARE_MOTOR_TYPE__MOTO_SCREW) + continue; // + if (isMotorConfigured(Motor_i)) + MotorGetStatusFromFPGA(Motor_i); + } } if (OneMinute_Tick) { |
