From 038e519479ea5830d9d8bbd1fd426b07d3bb1961 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 23 Aug 2010 20:09:41 +0200 Subject: [PATCH 1/1] enable interrupts earlier --- bmc/bmc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bmc/bmc.c b/bmc/bmc.c index dcdeb77..e3690a4 100644 --- a/bmc/bmc.c +++ b/bmc/bmc.c @@ -16,13 +16,12 @@ int main(void) unsigned char buf[24]; unsigned int len; - chassis_init(); - usart_init(); - i2c_init(); - set_sleep_mode(SLEEP_MODE_IDLE); + chassis_init(); + usart_init(); sei(); + i2c_init(); while(1) { cli(); -- 2.39.5