projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Qt: Really define OS_ID on ARCH_QT
[bertos.git]
/
bertos
/
drv
/
dataflash_test.c
diff --git
a/bertos/drv/dataflash_test.c
b/bertos/drv/dataflash_test.c
index ae7673beb40cfe0d55b43c153bc71b67ca187b5a..90f24ecbaab817fcc0343be174556284d4ae869d 100644
(file)
--- a/
bertos/drv/dataflash_test.c
+++ b/
bertos/drv/dataflash_test.c
@@
-95,8
+95,8
@@
/*
* Kfile structure to test a dataflash.
*/
/*
* Kfile structure to test a dataflash.
*/
-static
KFile
Serial spi_fd;
-static
KFileDataf
lash dflash_fd;
+static Serial spi_fd;
+static
DataF
lash dflash_fd;
/*
* Define tmp buffer to stora data for
/*
* Define tmp buffer to stora data for
@@
-109,9
+109,9
@@
static uint8_t save_buf[DATAFLASH_TEST_STR_LEN];
* Setup all needed to test dataflash memory
*
*/
* Setup all needed to test dataflash memory
*
*/
-int dataflash_testSet
u
p(void)
+int dataflash_testSet
U
p(void)
{
{
- kfile_testSet
u
p();
+ kfile_testSet
U
p();
LOG_INFO("KFILE setup..ok\n");
LOG_INFO("Check if kernel is enable (if enable you should see the assert message.)\n");
LOG_INFO("KFILE setup..ok\n");
LOG_INFO("Check if kernel is enable (if enable you should see the assert message.)\n");
@@
-213,7
+213,7
@@
int main(void)
proc_init();
#endif
proc_init();
#endif
- if (!dataflash_testSet
u
p())
+ if (!dataflash_testSet
U
p())
{
LOG_INFO("DATAFLASH setup..ok\n");
}
{
LOG_INFO("DATAFLASH setup..ok\n");
}
@@
-223,7
+223,7
@@
int main(void)
return EOF;
}
return EOF;
}
- dataflash_testRun();
+
dataflash_testRun();
for(;;)
{
for(;;)
{