X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Flcd_text.h;h=0f2ce49626e1dbbc40794f5ade430a3009e34dcb;hb=3a6471c19cf51b966d6922ff08eae8f194613785;hp=d05cfcd2b199a382f19d66ddfeaab4097353e3e1;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/lcd_text.h b/bertos/drv/lcd_text.h index d05cfcd2..0f2ce496 100644 --- a/bertos/drv/lcd_text.h +++ b/bertos/drv/lcd_text.h @@ -33,37 +33,13 @@ * \brief Generic text LCD driver (interface). * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo + * + * $WIZ$ module_name = "lcd_text" + * $WIZ$ module_depends = "lcd_hd44", "timer", "formatwr" */ -/*#* - *#* $Log$ - *#* Revision 1.3 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.2 2006/02/23 10:59:14 bernie - *#* Documentation fixes. - *#* - *#* Revision 1.1 2005/11/04 18:00:42 bernie - *#* Import into DevLib. - *#* - *#* Revision 1.5 2005/06/14 14:43:43 bernie - *#* Add DevLib headers. - *#* - *#* Revision 1.4 2005/06/06 17:41:57 batt - *#* Add lcd_layerSet function. - *#* - *#* Revision 1.3 2005/06/01 10:36:23 batt - *#* Layer: Rename member variables and Doxygenize. - *#* - *#* Revision 1.2 2005/05/26 08:31:23 batt - *#* Add layer hiding/showing. - *#* - *#* Revision 1.1 2005/05/24 09:17:58 batt - *#* Move drivers to top-level. - *#*/ - #ifndef DRV_LCD_H #define DRV_LCD_H @@ -71,7 +47,7 @@ #include #include -#include +#include #include // vprintf() @@ -83,7 +59,7 @@ #define LCD_NOCURSOR BV(2) /* Scrittura senza spostamento cursore */ /** Special priority value for lcd_setLayerDepth(). */ -#define LAYER_HIDDEN -128 +#define LAYER_HIDDEN -127 /* Compute LCD address from x/y coordinates */ #define LCD_POS(x,y) ((lcdpos_t)((uint8_t)(x) + (uint8_t)(y) * (uint8_t)LCD_COLS)) @@ -107,7 +83,7 @@ typedef struct _Layer lcdpos_t addr; /** Priority of this layer (greater in front of lesser). */ - char pri; + signed char pri; /** * Layer backing store buffer.