diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-08-02 13:03:12 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-08-02 13:03:12 +0300 |
| commit | 563541739f0e49e29e3848376964f36519839148 (patch) | |
| tree | b4dede3369a560f7995812bcbc99f2908e41b402 /Software/Embedded_SW/Embedded/Main.c | |
| parent | 8341015db09be9aa52f7b349792ecaa394d73680 (diff) | |
| download | Tango-563541739f0e49e29e3848376964f36519839148.tar.gz Tango-563541739f0e49e29e3848376964f36519839148.zip | |
stop actuator after 2 seconds on relocation. improve cleaning,stop Hiz dancers after RML tension setting
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index da103cced..ccda43cfd 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -271,6 +271,7 @@ int main(void) //OpenLogFile(); Init_All_I2C(); +#ifndef EVALUATION_BOARD Block_Main_MUX_TCA9548A_0xE4();//unused, same i2c as head and whs cards I2C_BUSY_DELAY = 3000; //temporary workaround!!! Check_Head_Type_Via_EEPROM();//without trigger @@ -289,13 +290,12 @@ int main(void) Trigger_Head_io_Init();//Head_IO_Init();//moved to set 24 to pressure sensor in arc earlier } - #ifndef EVALUATION_BOARD STATUS_RED_LED_ON; STATUS_GREEN_LED_ON; FPGA_Init(); - #endif Init_IFS();//must be done after FPGA_Init +#endif MAP_FPULazyStackingEnable(); @@ -329,8 +329,10 @@ int main(void) ControlStart(); Heaters_Init(); +#ifndef EVALUATION_BOARD MotorsInit(); -//Shai WHS_HW_test(); // for WHS sensor test +#endif + //Shai WHS_HW_test(); // for WHS sensor test #ifndef EVALUATION_BOARD Init_Machine_Leds(); |
