Update stm32f429_demo
authorgkostka <kostka.grzegorz@gmail.com>
Sat, 8 Nov 2014 17:49:32 +0000 (17:49 +0000)
committergkostka <kostka.grzegorz@gmail.com>
Sat, 8 Nov 2014 17:49:32 +0000 (17:49 +0000)
demos/stm32f429_disco/main.c

index 1b53e072359736ede6b6069c09d042955cc68747..3111e88da1aba7491eb0b31f901570b7c0e98034 100644 (file)
@@ -37,6 +37,7 @@
 #include <stdbool.h>\r
 #include <time.h>\r
 #include <unistd.h>\r
+#include <time.h>\r
 \r
 #include <usb_msc_lwext4.h>\r
 #include <ext4.h>\r
@@ -263,7 +264,6 @@ static bool file_test(void)
     r = ext4_fclose(&f);\r
 \r
 \r
-    printf("ext4_fopen: test1\n");\r
     ext4_io_timings_clear();\r
     start = get_ms();\r
     r = ext4_fopen(&f, "/mp/test1", "wb");\r
@@ -299,7 +299,6 @@ static bool file_test(void)
     r = ext4_fclose(&f);\r
 \r
 \r
-    printf("ext4_fopen: test1\n");\r
     ext4_io_timings_clear();\r
     start = get_ms();\r
     r = ext4_fopen(&f, "/mp/test1", "r+");\r
@@ -455,8 +454,6 @@ int main(void)
     if(!file_test())\r
         return EXIT_FAILURE;\r
 \r
-    dir_ls("/mp/");\r
-\r
     if(sbstat){\r
         hw_wait_ms(TEST_DELAY_MS);\r
         mp_stats();\r