X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fft245rl.h;h=ced7ee19fad9fa5bf4d338676f6204bdc375e37d;hb=37efb5bdc0504ab6df2e8db0635c9c6f7477e23e;hp=e120ab9c75a140d190da63d642b3808df7c3f1cd;hpb=3fc368beb46bbaea22335bf33f323117c47e537b;p=bertos.git diff --git a/bertos/drv/ft245rl.h b/bertos/drv/ft245rl.h index e120ab9c..ced7ee19 100644 --- a/bertos/drv/ft245rl.h +++ b/bertos/drv/ft245rl.h @@ -26,7 +26,7 @@ * 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/) * * --> * @@ -35,6 +35,9 @@ * * \version $Id$ * \author Francesco Sacchi + * + * $WIZ$ module_name = "ft245rl" + * $WIZ$ module_depends = "kfile", "timer" */ @@ -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;