projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
idle: Use C-friendly syntax
[bertos.git]
/
bertos
/
drv
/
flash25_test.c
diff --git
a/bertos/drv/flash25_test.c
b/bertos/drv/flash25_test.c
index 691c9113f7e1564ceacfe36a8f6d68fcbf66de05..814c1648b88b097fcebb53704a21db16c68985c7 100644
(file)
--- a/
bertos/drv/flash25_test.c
+++ b/
bertos/drv/flash25_test.c
@@
-49,9
+49,11
@@
#include <cfg/debug.h>
#include <cfg/debug.h>
+#warning FIXME:Review and refactor this test..
+
bool flash25_test(KFile *channel)
{
bool flash25_test(KFile *channel)
{
-
KFile
Flash25 fd;
+ Flash25 fd;
uint8_t test_buf[256];
/*
uint8_t test_buf[256];
/*
@@
-73,7
+75,7
@@
bool flash25_test(KFile *channel)
* Launche a kfile test interface.
*/
kprintf("Kfile test start..\n");
* Launche a kfile test interface.
*/
kprintf("Kfile test start..\n");
- if (!kfile_test(&fd.fd, test_buf, NULL, sizeof(test_buf)))
+ if (!kfile_test
Run
(&fd.fd, test_buf, NULL, sizeof(test_buf)))
return false;
return true;
return false;
return true;