aboutsummaryrefslogtreecommitdiffstats
path: root/drv_Crystalfontz.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-14 11:56:17 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-14 11:56:17 +0000
commit02f87e08e6fa94ff943c84768197fba5f719a951 (patch)
treea06f315366c4efeb59913dd0eb9cdd3fb929a7f7 /drv_Crystalfontz.c
parent4c40b4065bedef2b8a490a88fc4ec04086b7a0f2 (diff)
downloadlcd4linux-02f87e08e6fa94ff943c84768197fba5f719a951.tar.gz
[lcd4linux @ 2004-02-14 11:56:11 by reinelt]
M50530 driver ported changed lots of 'char' to 'unsigned char' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@363 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_Crystalfontz.c')
-rw-r--r--drv_Crystalfontz.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/drv_Crystalfontz.c b/drv_Crystalfontz.c
index dfebac8..b1d7a09 100644
--- a/drv_Crystalfontz.c
+++ b/drv_Crystalfontz.c
@@ -1,4 +1,4 @@
-/* $Id: drv_Crystalfontz.c,v 1.10 2004/02/05 07:10:23 reinelt Exp $
+/* $Id: drv_Crystalfontz.c,v 1.11 2004/02/14 11:56:17 reinelt Exp $
*
* new style driver for Crystalfontz display modules
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_Crystalfontz.c,v $
+ * Revision 1.11 2004/02/14 11:56:17 reinelt
+ * M50530 driver ported
+ * changed lots of 'char' to 'unsigned char'
+ *
* Revision 1.10 2004/02/05 07:10:23 reinelt
* evaluator function names are no longer case-sensitive
* Crystalfontz Fan PWM control, Fan RPM monitoring, temperature monitoring
@@ -315,13 +319,13 @@ static void drv_CF_send (int cmd, int len, char *data)
}
-static void drv_CF_write1 (char *string, int len)
+static void drv_CF_write1 (unsigned char *string, int len)
{
drv_generic_serial_write (string, len);
}
-static void drv_CF_write2 (char *string, int len)
+static void drv_CF_write2 (unsigned char *string, int len)
{
// limit length
if (Col+len>16) len=16-Col;
@@ -337,7 +341,7 @@ static void drv_CF_write2 (char *string, int len)
}
-static void drv_CF_write3 (char *string, int len)
+static void drv_CF_write3 (unsigned char *string, int len)
{
debug ("write3(<%.*s>,%d)", len, string, len);
}
@@ -366,7 +370,7 @@ static void drv_CF_goto23 (int row, int col)
}
-static void drv_CF_defchar1 (int ascii, char *buffer)
+static void drv_CF_defchar1 (int ascii, unsigned char *buffer)
{
char cmd[2]="\031n"; // set custom char bitmap
@@ -377,7 +381,7 @@ static void drv_CF_defchar1 (int ascii, char *buffer)
}
-static void drv_CF_defchar23 (int ascii, char *matrix)
+static void drv_CF_defchar23 (int ascii, unsigned char *matrix)
{
char buffer[9];