aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2021-01-04 11:52:20 +0200
committerAvi Levkovich <avi@twine-s.com>2021-01-04 11:52:20 +0200
commit7c3e54578ae6f2c01ec05ebc7f7e0f873955bb33 (patch)
tree3eb92323c29633dde9df39666ece64815ff7da98 /Software/Embedded_SW/Embedded/Main.c
parent6a2aa48d486a9f83449d7e2c5e85b62649763c49 (diff)
parentb0dc79e93c1a17667211bff5c7e48eb2d69ad386 (diff)
downloadTango-7c3e54578ae6f2c01ec05ebc7f7e0f873955bb33.tar.gz
Tango-7c3e54578ae6f2c01ec05ebc7f7e0f873955bb33.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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