projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor KFileFlash25 to Flash25KFile. Tested.
[bertos.git]
/
bertos
/
drv
/
flash25_test.c
diff --git
a/bertos/drv/flash25_test.c
b/bertos/drv/flash25_test.c
index a221992fde4949f1e52211ce8559014d1045fb3b..921cb4eab430be3d4d9d39bc8df84a3b6e78c701 100644
(file)
--- a/
bertos/drv/flash25_test.c
+++ b/
bertos/drv/flash25_test.c
@@
-53,7
+53,7
@@
bool flash25_test(KFile *channel)
{
bool flash25_test(KFile *channel)
{
-
KFileFlash25
fd;
+
Flash25KFile
fd;
uint8_t test_buf[256];
/*
uint8_t test_buf[256];
/*
@@
-75,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;