X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25_test.c;h=814c1648b88b097fcebb53704a21db16c68985c7;hb=618b81fe6469c2fe2196ccc695ca41ee327220c2;hp=691c9113f7e1564ceacfe36a8f6d68fcbf66de05;hpb=f48615ef4781f256708e3e7300088a6e985d8d18;p=bertos.git diff --git a/bertos/drv/flash25_test.c b/bertos/drv/flash25_test.c index 691c9113..814c1648 100644 --- a/bertos/drv/flash25_test.c +++ b/bertos/drv/flash25_test.c @@ -49,9 +49,11 @@ #include +#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;