diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-05 16:00:59 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-05 16:00:59 +0200 |
| commit | b3589be05166fdd15692a9a835262d6e04e56bd2 (patch) | |
| tree | e5b22067a8cb61b27a26fbd6ed2f90a2e39dab4d /Software/Embedded_SW/Embedded/Main.c | |
| parent | e91fb8659ced78638983b0f534ac6dd8653ff305 (diff) | |
| download | Tango-b3589be05166fdd15692a9a835262d6e04e56bd2.tar.gz Tango-b3589be05166fdd15692a9a835262d6e04e56bd2.zip | |
fix continuous bug, alarm handling timing, control timing, initialization.
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index 05c3d8c04..04ab6e57d 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -261,6 +261,9 @@ int main(void) SysCtlUSBPLLEnable(); + if (Head_Type > HEAD_TYPE_SYLKO_WITHOUT_CARD) + Head_IO_Init(); + #ifndef EVALUATION_BOARD DeActivateAllSSR(); Control_Dryer_Fan(STOP,0);//Preventing unwanted movement at power up, since the default from FPGA is "0" (= START) @@ -278,7 +281,7 @@ int main(void) ActivateChiller();//WHS Cooler SSR9 //ActivateHeadMagnet(); #endif - + I2C_ReadingTask_Init(); //EMAC_initEMAC(); ControlInit(); @@ -324,8 +327,6 @@ int main(void) //Read_Speed_Sensor_TypeII();//must be delay between Set_Speed_Sensor_TypeII_Registers to Read_Speed_Sensor_TypeII //Test_ADS120_Internal_Temperature_Sensor(0); - if (Head_Type > HEAD_TYPE_SYLKO_WITHOUT_CARD) - Head_IO_Init(); #ifndef EVALUATION_BOARD Main_EEPROM_Read_Main_Card_SN(); |
