diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-04 18:51:57 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-04 18:51:57 +0200 |
| commit | bee3522e23c95021a9637669a8091069af98e0c4 (patch) | |
| tree | 6b3f0148febe174de2b5e5a1baab359f7d1dd5e2 /Software/Embedded_SW/Embedded/Main.c | |
| parent | 3c241f9308d9a9f45278990ae19ef4b48c8240fe (diff) | |
| download | Tango-bee3522e23c95021a9637669a8091069af98e0c4.tar.gz Tango-bee3522e23c95021a9637669a8091069af98e0c4.zip | |
Version 1.4.6.8: remove most of head/whs ifdefs, checked to be working. fix control for missed milliseconds calls and more
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index 99e83a6aa..05c3d8c04 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -249,6 +249,7 @@ int main(void) Init_All_I2C(); Block_Main_MUX_TCA9548A_0xE4();//unused, same i2c as head and whs cards Check_Head_Type_Via_EEPROM(); + //Check_WHS_Type_Via_EEPROM(); #ifndef EVALUATION_BOARD STATUS_RED_LED_ON; @@ -323,9 +324,8 @@ 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); -#ifdef Use_Head_Card - Head_IO_Init(); -#endif + if (Head_Type > HEAD_TYPE_SYLKO_WITHOUT_CARD) + Head_IO_Init(); #ifndef EVALUATION_BOARD Main_EEPROM_Read_Main_Card_SN(); |
