introduce sd_log for logging on the sdcard
[protos/imu.git] / main.c
diff --git a/main.c b/main.c
index 454b54b..9b801f5 100644 (file)
--- a/main.c
+++ b/main.c
@@ -54,6 +54,7 @@
 
 #include "eeprom_config.h"
 #include "gps_venus.h"
+#include "sd_log.h"
 #include "main.h"
 
 struct imuboard imuboard;
@@ -167,11 +168,13 @@ int main(void)
 
        eeprom_load_config();
 
+       open_log_file();
+
        printf_P(PSTR("\r\n"));
        rdline_newline(&imuboard.rdl, imuboard.prompt);
 
-
        //sd_main();
+       //imu_init();
        //imu_loop();
        gps_venus_init();
        gps_loop();