From ed45c5cf54ec45317cce593685a0f71767f22a8e Mon Sep 17 00:00:00 2001
From: lfreixas <lfreixas@iri.upc.edu>
Date: Fri, 10 Jun 2016 17:00:24 +0200
Subject: [PATCH] Added an extra delay at the initialization process (2
 seconds) to allow enough time to the expansion board to read the data stored
 into the EEPROM memory.

---
 controllers/src/cm510.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/controllers/src/cm510.c b/controllers/src/cm510.c
index fbe21d1..5e8a96e 100755
--- a/controllers/src/cm510.c
+++ b/controllers/src/cm510.c
@@ -50,6 +50,7 @@ int16_t main(void)
   sei();
   /* call the user initialization function */
   manager_init(18);
+  _delay_ms(2000);
   exp_board_init(EXP_BOARD_ID);
   user_init();
   // turn BAT_LED on to indicate the initialization is done
-- 
GitLab