X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fft245rl.h;h=258b0a4b76f82a85a7cb5eb5dd71d1adc2299d88;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=e120ab9c75a140d190da63d642b3808df7c3f1cd;hpb=3fc368beb46bbaea22335bf33f323117c47e537b;p=bertos.git diff --git a/bertos/drv/ft245rl.h b/bertos/drv/ft245rl.h index e120ab9c..258b0a4b 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,10 @@ * * \version $Id$ * \author Francesco Sacchi + * + * $WIZ$ module_name = "ft245rl" + * $WIZ$ module_depends = "kfile", "timer" + * $WIZ$ module_hw = "bertos/hw/hw_ft245rl.h" */ @@ -61,7 +65,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;