projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor countFileSize to return the size directly.
[bertos.git]
/
bertos
/
drv
/
ft245rl.h
diff --git
a/bertos/drv/ft245rl.h
b/bertos/drv/ft245rl.h
index e120ab9c75a140d190da63d642b3808df7c3f1cd..a4a8dcaee6f0bd3006e11ec4318f3ac33f68bf61 100644
(file)
--- a/
bertos/drv/ft245rl.h
+++ b/
bertos/drv/ft245rl.h
@@
-61,7
+61,7
@@
typedef struct Ft245rl
/**
* Convert + ASSERT from generic KFile to KFileFt245rl.
*/
/**
* Convert + ASSERT from generic KFile to KFileFt245rl.
*/
-INLINE Ft245rl * FT245RL(KFile *fd)
+INLINE Ft245rl * FT245RL
_CAST
(KFile *fd)
{
ASSERT(fd->_type == KFT_FT245RL);
return (Ft245rl *)fd;
{
ASSERT(fd->_type == KFT_FT245RL);
return (Ft245rl *)fd;