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