aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-11-19 13:31:12 +0200
committerAvi Levkovich <avi@twine-s.com>2019-11-19 13:31:12 +0200
commitd87f59593916413b747ebe15f409ec09007747a3 (patch)
treec195b6a053b96eb37591e26861485c2c3af6bd11 /Software/Embedded_SW/Embedded/Main.c
parent5a55dd338c35b34bbc1bf4ca2487ab3ed12d4b17 (diff)
downloadTango-d87f59593916413b747ebe15f409ec09007747a3.tar.gz
Tango-d87f59593916413b747ebe15f409ec09007747a3.zip
Main Card S/N from external eeprom to internal eeprom
(stub to insert S/N to external eeprom: I2C_RW_Main_Card_EEPROM_Save_Main_SN.cs)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index 69abecd01..d424c56cc 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -76,6 +76,8 @@
#include "Modules/General/buttons.h"
#include "Modules/Waste/Waste.h"
#include <Drivers/I2C_Communication/Dispenser_Card/IO_Ports/Dispenser_IO.h>
+#include "Drivers/I2C_Communication/Main_Board_EEPROM/Main_EEPROM.h"
+#include "delay.h"
//*****************************************************************************
@@ -316,6 +318,7 @@ int main(void)
//Test_ADS120_Internal_Temperature_Sensor(0);
+ Main_EEPROM_Read_Main_Card_SN();
// Enable interrupts to the processor.
//