Reformat.
[bertos.git] / bertos / drv / flash25_test.c
index 691c9113f7e1564ceacfe36a8f6d68fcbf66de05..814c1648b88b097fcebb53704a21db16c68985c7 100644 (file)
 
 #include <cfg/debug.h>
 
+#warning FIXME:Review and refactor this test..
+
 bool flash25_test(KFile *channel)
 {
-       KFileFlash25 fd;
+       Flash25 fd;
        uint8_t test_buf[256];
 
        /*
@@ -73,7 +75,7 @@ bool flash25_test(KFile *channel)
         * Launche a kfile test interface.
         */
        kprintf("Kfile test start..\n");
-       if (!kfile_test(&fd.fd, test_buf, NULL, sizeof(test_buf)))
+       if (!kfile_testRun(&fd.fd, test_buf, NULL, sizeof(test_buf)))
                return false;
 
        return true;