X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_lcd.h;h=55368047d54ff2c4f962f1dfbe22278b9f0d4923;hb=c5458f1e197c3a3e9e100a5ed5f6df417bb0a87c;hp=d19308f09956c01ff03ba0b2abc5477809548ece;hpb=dc7a65841fab7cec00d57ba7851e34e5b7af0700;p=bertos.git diff --git a/bertos/hw/hw_lcd.h b/bertos/hw/hw_lcd.h index d19308f0..55368047 100644 --- a/bertos/hw/hw_lcd.h +++ b/bertos/hw/hw_lcd.h @@ -26,7 +26,7 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/) + * Copyright 2003, 2004, 2005, 2008 Develer S.r.l. (http://www.develer.com/) * Copyright 2001 Bernardo Innocenti * * --> @@ -43,16 +43,15 @@ #ifndef HW_LCD_H #define HW_LCD_H -#include - -#include /* BV() */ +#include "cfg/cfg_lcd.h" /* CONFIG_LCD_4BIT */ +#include /* BV() */ #include #include #include #include -#warning TODO: This is example implementation, you must implement it! +#warning TODO:This is an example implementation, you must implement it! /** * \name LCD I/O pins/ports @@ -97,12 +96,12 @@ #define LCD_SET_E /* Implement me! */ #if CONFIG_LCD_4BIT - #define LCD_WRITE_H(x) /* Implement me! */ - #define LCD_WRITE_L(x) /* Implement me! */ + #define LCD_WRITE_H(x) ((void)x)/* Implement me! */ + #define LCD_WRITE_L(x) ((void)x)/* Implement me! */ #define LCD_READ_H ( 0 /* Implement me! */ ) #define LCD_READ_L ( 0 /* Implement me! */ ) #else - #define LCD_WRITE(x) /* Implement me! */ + #define LCD_WRITE(x) ((void)x)/* Implement me! */ #define LCD_READ /* Implement me! */ #endif /*@}*/