X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Flcd_text.c;h=d62752078640d9f09ccd21da8b895da60a503be5;hb=618b81fe6469c2fe2196ccc695ca41ee327220c2;hp=8e519280fa570055b25f2b6a93bbb076535bfe20;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/lcd_text.c b/bertos/drv/lcd_text.c index 8e519280..d6275207 100644 --- a/bertos/drv/lcd_text.c +++ b/bertos/drv/lcd_text.c @@ -27,59 +27,26 @@ * the GNU General Public License. * * Copyright 2005 Develer S.r.l. (http://www.develer.com/) - * + * All Rights Reserved. * --> * * \brief Generic text LCD driver (impl.). * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo */ -/*#* - *#* $Log$ - *#* Revision 1.4 2006/09/20 20:02:43 marco - *#* Replaced ISLISTEMPTY with LIST_EMPTY - *#* - *#* Revision 1.3 2006/07/19 12:56:25 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.2 2006/02/24 00:27:14 bernie - *#* Use new naming convention for list macros. - *#* - *#* Revision 1.1 2005/11/04 18:00:42 bernie - *#* Import into DevLib. - *#* - *#* Revision 1.11 2005/06/14 14:43:43 bernie - *#* Add DevLib headers. - *#* - *#* Revision 1.10 2005/06/06 17:41:57 batt - *#* Add lcd_layerSet function. - *#* - *#* Revision 1.9 2005/06/01 16:40:07 batt - *#* Remove debug string. - *#* - *#* Revision 1.8 2005/06/01 16:38:04 batt - *#* Adapt to changes in mware/list.h. - *#* - *#* Revision 1.7 2005/06/01 10:45:22 batt - *#* lcd_setAddr(): Bugfix boundary condition; Misc cleanup. - *#* - *#* Revision 1.6 2005/06/01 10:36:23 batt - *#* Layer: Rename member variables and Doxygenize. - *#* - *#* Revision 1.5 2005/05/27 11:05:58 batt - *#* Do not write on lcd if layer is hidden. - *#*/ - #include "lcd_text.h" #include "lcd_hd44.h" + +#include // BV() +#include + #include // timer_delay() + #include // _formatted_write() #include // LIST_EMPTY() -#include // BV() -#include #include // strlen() @@ -484,16 +451,4 @@ void lcd_init(void) lcd_setCursor(0); } -#if CONFIG_TEST -void lcd_test(void) -{ - int i; - - for (i = 0; i < LCD_ROWS * LCD_COLS; ++i) - { - lcd_putCharUnlocked('0' + (i % 10), lcd_DefLayer); - timer_delay(100); - } -} -#endif /* CONFIG_TEST */