From 02f87e08e6fa94ff943c84768197fba5f719a951 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 14 Feb 2004 11:56:17 +0000 Subject: [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 --- drv_Crystalfontz.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'drv_Crystalfontz.c') 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]; -- cgit v1.2.3