diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-24 11:41:06 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-24 11:41:06 +0200 |
| commit | 4eb01c45da6203949dbed98d3be1fbde79e697c8 (patch) | |
| tree | 0f9d6b6cae1178d5f360b9a1a2e2e72a6b82c1fd /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | afe5f30f7ebc9afe96e993e6188060165d4544f6 (diff) | |
| download | Tango-4eb01c45da6203949dbed98d3be1fbde79e697c8.tar.gz Tango-4eb01c45da6203949dbed98d3be1fbde79e697c8.zip | |
read heaters current value
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 5943c11c5..471833dc5 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -428,7 +428,7 @@ uint32_t MillisecLoop(uint32_t tick) } uint32_t MillisecLowLoop(uint32_t tick) { - uint8_t Motor_i,Disp_i; + uint8_t Motor_i,Disp_i,Heater_i; TEMPERATURE_SENSOR_ID_ENUM Sensor_i; //static int temp=0; @@ -489,6 +489,10 @@ uint32_t MillisecLowLoop(uint32_t tick) if (isMotorConfigured(Motor_i)) MotorGetStatusFromFPGA(Motor_i); } + for (Heater_i = 0;Heater_i < NUM_OF_HEATERS;Heater_i++) + { + Read_Head_MixChip_Heaters_Current(Heater_i); + } } if (OneMinute_Tick) { |
