]> git.droids-corp.org - fpv.git/commitdiff
imuboard: add a log when starting
authorOlivier Matz <zer0@droids-corp.org>
Wed, 4 Mar 2015 20:31:47 +0000 (21:31 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Wed, 4 Mar 2015 20:31:47 +0000 (21:31 +0100)
imuboard/main.c

index b257c656e0645504769ce7fcaa1535294d6a5bcd..25a1662f287ca45f2a335305613e35f9bfd60382 100644 (file)
@@ -171,12 +171,12 @@ int main(void)
        i2c_register_recv_event(i2c_recvevent);
        i2c_register_send_event(i2c_sendevent);
 
+       sei();
+       printf_P(PSTR("starting...\r\n"));
        eeprom_load_config();
 
        sd_log_open();
 
-       sei();
-
        printf_P(PSTR("\r\n"));
        rdline_newline(&imuboard.rdl, imuboard.prompt);