aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2021-01-04 07:34:23 +0200
committerShlomo Hecht <shlomo@twine-s.com>2021-01-04 07:34:23 +0200
commitb0dc79e93c1a17667211bff5c7e48eb2d69ad386 (patch)
treee6ad34eefc4424efa2f853ffa7f3899f52cf494d /Software/Embedded_SW/Embedded/Main.c
parentea8e85d116842845d35a6060aa0b33c40dad6aa3 (diff)
downloadTango-b0dc79e93c1a17667211bff5c7e48eb2d69ad386.tar.gz
Tango-b0dc79e93c1a17667211bff5c7e48eb2d69ad386.zip
enabling work with evaluation board
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 9c647e847..c8e2e80b9 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -314,6 +314,7 @@ int main(void)
HibernateCalendarSet(&LocalTime);
}
OpenLogFile();
+#ifndef EVALUATION_BOARD
Data = MCU_E2PromEmbeddedVersionRead();
memcpy (&Version,&Data,4);
i = memcmp(&Version,&_gTangoVersion,4);
@@ -325,7 +326,7 @@ int main(void)
MCU_E2PromProgram(EEPROM_INIT_FAILURE_COUNTER,0);
}
MCU_E2PromRead(EEPROM_INIT_FAILURE_COUNTER,&InitFailures);
-
+#endif
Init_All_I2C();
#ifndef EVALUATION_BOARD
Block_Main_MUX_TCA9548A_0xE4();//unused, same i2c as head and whs cards