]> git.zerfleddert.de Git - rsbs2/blobdiff - bmc/bmc.c
module configs now need .conf
[rsbs2] / bmc / bmc.c
index a7217efb263fad6b886eb9df13351024f4e30417..e3690a47b5eef72f953e745e0cc88248bacb36af 100644 (file)
--- a/bmc/bmc.c
+++ b/bmc/bmc.c
@@ -9,20 +9,19 @@
 #include "chassis.h"
 #include "bmc.h"
 
 #include "chassis.h"
 #include "bmc.h"
 
-#define SLEEP_MODE
+#undef SLEEP_MODE
 
 int main(void)
 {
        unsigned char buf[24];
        unsigned int len;
 
 
 int main(void)
 {
        unsigned char buf[24];
        unsigned int len;
 
-       chassis_init();
-       usart_init();
-       i2c_init();
-
        set_sleep_mode(SLEEP_MODE_IDLE);
 
        set_sleep_mode(SLEEP_MODE_IDLE);
 
+       chassis_init();
+       usart_init();
        sei();
        sei();
+       i2c_init();
 
        while(1) {
                cli();
 
        while(1) {
                cli();
Impressum, Datenschutz