aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <>2001-02-14 07:40:16 +0000
committerreinelt <>2001-02-14 07:40:16 +0000
commit97f92ab56802c16175dc7934a71ce29c9cb271f2 (patch)
treedda7676a8ca4e9fb7ff67bccb2b53b284b4bf3d1 /display.c
parentb04158f298eca60f12aac3d75d468b6937005ae6 (diff)
downloadlcd4linux-97f92ab56802c16175dc7934a71ce29c9cb271f2.tar.gz
[lcd4linux @ 2001-02-14 07:40:16 by reinelt]
first (incomplete) GPO implementation
Diffstat (limited to 'display.c')
-rw-r--r--display.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/display.c b/display.c
index 497cf42..3c0e260 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.22 2001/02/13 09:00:13 reinelt Exp $
+/* $Id: display.c,v 1.23 2001/02/14 07:40:16 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,10 @@
*
*
* $Log: display.c,v $
+ * Revision 1.23 2001/02/14 07:40:16 reinelt
+ *
+ * first (incomplete) GPO implementation
+ *
* Revision 1.22 2001/02/13 09:00:13 reinelt
*
* prepared framework for GPO's (general purpose outputs)
@@ -128,7 +132,7 @@
* lcd_init (char *driver)
* initializes the named driver
*
- * lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars)
+ * lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *gpos)
* queries the attributes of the selected driver
*
* lcd_clear ()
@@ -219,16 +223,17 @@ int lcd_init (char *driver)
return -1;
}
-int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars)
+int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *gpos)
{
if (Lcd==NULL)
return -1;
if (rows) *rows=Lcd->rows;
- if(cols) *cols=Lcd->cols;
+ if (cols) *cols=Lcd->cols;
if (xres) *xres=Lcd->xres;
if (yres) *yres=Lcd->yres;
if (bars) *bars=Lcd->bars;
+ if (gpos) *gpos=Lcd->gpos;
return 0;
}