diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-06-04 09:05:30 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-06-04 09:05:30 +0300 |
| commit | 2a0e5736df4a6514baeea815152528632c285478 (patch) | |
| tree | fb894202ff3f5145ad99ac77ebc1f5996e6c6532 /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | |
| parent | f2c77cf8a33fb92a5a1fa74c4438dedbc320d648 (diff) | |
| download | Tango-2a0e5736df4a6514baeea815152528632c285478.tar.gz Tango-2a0e5736df4a6514baeea815152528632c285478.zip | |
Version 1.4.0.7 Heaters PID on band, does not check motor status
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index eefac2854..b5797e749 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -349,9 +349,6 @@ uint32_t MillisecLoop(uint32_t tick) //gather Motor data from FPGA //ROM_IntMasterDisable(); */ - - - #ifndef EVALUATION_BOARD FPGA_GetBusy(); //load the busy motor information to all motors FPGA_Read_LS_Safty_Ind_Reg(); @@ -568,13 +565,13 @@ uint32_t MillisecLowLoop(uint32_t tick) DrawerFansStatus = temp & 0x1F; SystemFansStatus = temp & 0xE0; //KeepAliveOneSecondCall(); - for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++) + /*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)) { for (Heater_i = 0;Heater_i < NUM_OF_CURRENT_HEATERS;Heater_i++) |
