From: Michael Gernoth Date: Mon, 23 Aug 2010 18:09:41 +0000 (+0200) Subject: enable interrupts earlier X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/commitdiff_plain/038e519479ea5830d9d8bbd1fd426b07d3bb1961 enable interrupts earlier --- 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();