Rename macros.
[bertos.git] / bertos / drv / ft245rl.h
index e120ab9c75a140d190da63d642b3808df7c3f1cd..a4a8dcaee6f0bd3006e11ec4318f3ac33f68bf61 100644 (file)
@@ -61,7 +61,7 @@ typedef struct Ft245rl
 /**
  * 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;