aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-02-19 11:30:46 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-02-19 11:30:46 +0200
commit096bd938ce5a1c3643695bc8f6818e8e1fd3c064 (patch)
tree1b6276b63d0aafcd07a67003372d397bd8902d99 /Software/Embedded_SW/Embedded/Main.c
parent685b1da155bda741a3378a1c19a04ffd110a0a33 (diff)
downloadTango-096bd938ce5a1c3643695bc8f6818e8e1fd3c064.tar.gz
Tango-096bd938ce5a1c3643695bc8f6818e8e1fd3c064.zip
bug fixes before version 1.4.6.12
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index 803a22cc4..604fc73fb 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -300,7 +300,8 @@ int main(void)
//ActivateHeadMagnet();
Set_Speed_Sensor_TypeII_Registers(10,5);//set default values
#endif
- I2C_ReadingTask_Init();
+ if ((Head_Type > HEAD_TYPE_SYLKO_WITHOUT_CARD)||(WHS_Type == WHS_TYPE_NEW))
+ I2C_ReadingTask_Init();
//EMAC_initEMAC();
ControlInit();