]> cvs.zerfleddert.de Git - rsbs2/blobdiff - bmc/bmc.c
supermicro-kvm: handle redirects to https
[rsbs2] / bmc / bmc.c
index dcdeb775dc2c3d9396c0882a1440ecf0e84e6fa7..e3690a47b5eef72f953e745e0cc88248bacb36af 100644 (file)
--- 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();
Impressum, Datenschutz