From f4dd3dfd7a634ab0cf3b371f3826c0a73d334299 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 19 Mar 2004 09:17:46 +0000 Subject: [lcd4linux @ 2004-03-19 09:17:46 by reinelt] removed the extra 'goto' function, row and col are additional parameters of the write() function now. --- drv_HD44780.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'drv_HD44780.c') diff --git a/drv_HD44780.c b/drv_HD44780.c index 3b1abec..ba5c912 100644 --- a/drv_HD44780.c +++ b/drv_HD44780.c @@ -1,4 +1,4 @@ -/* $Id: drv_HD44780.c,v 1.16 2004/03/11 06:39:58 reinelt Exp $ +/* $Id: drv_HD44780.c,v 1.17 2004/03/19 09:17:46 reinelt Exp $ * * new style driver for HD44780-based displays * @@ -29,6 +29,11 @@ * * * $Log: drv_HD44780.c,v $ + * Revision 1.17 2004/03/19 09:17:46 reinelt + * + * removed the extra 'goto' function, row and col are additional parameters + * of the write() function now. + * * Revision 1.16 2004/03/11 06:39:58 reinelt * big patch from Martin: * - reuse filehandles @@ -480,9 +485,10 @@ static void drv_HD_goto (int row, int col) } -static void drv_HD_write (unsigned char *string, int len) +static void drv_HD_write (int row, int col, unsigned char *data, int len) { - drv_HD_data (currController, string, len, T_EXEC); + drv_HD_goto (row, col); + drv_HD_data (currController, data, len, T_EXEC); } @@ -730,7 +736,6 @@ int drv_HD_init (char *section) // real worker functions drv_generic_text_real_write = drv_HD_write; - drv_generic_text_real_goto = drv_HD_goto; drv_generic_text_real_defchar = drv_HD_defchar; -- cgit v1.2.3