X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fft245rl.h;h=0fee0f34b5855e2e70b8812a6ea76b19f567ff9b;hb=c8f7b2058f1ea7e68cad20bd076e5f5d6b2435d5;hp=e120ab9c75a140d190da63d642b3808df7c3f1cd;hpb=3fc368beb46bbaea22335bf33f323117c47e537b;p=bertos.git diff --git a/bertos/drv/ft245rl.h b/bertos/drv/ft245rl.h index e120ab9c..0fee0f34 100644 --- a/bertos/drv/ft245rl.h +++ b/bertos/drv/ft245rl.h @@ -26,22 +26,25 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2007 Develer S.r.l. (http://www.develer.com/) + * Copyright 2009 Develer S.r.l. (http://www.develer.com/) * * --> * * \brief Function library for Accessing FT245RL USB interface. * * - * \version $Id$ * \author Francesco Sacchi + * + * $WIZ$ module_name = "ft245rl" + * $WIZ$ module_depends = "kfile", "timer" + * $WIZ$ module_hw = "bertos/hw/hw_ft245rl.h" */ #ifndef DRV_FT245RL_H #define DRV_FT245RL_H -#include +#include #include /** @@ -61,7 +64,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;