[Lcdproc] Re: lcdproc-0.5.1 and serialized HD44780 on k-data wake-up 2.0 module
Matteo Pillon
matteo.pillon@gmail.com
Wed Jan 24 16:06:02 2007
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Forgot the attachment. ;-)
Patch in this order:
Peter's - patch - patch1
Bye.
--
* Matteo Pillon
http://hydra.ilc.pd.it/~pmatthew
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename=patch1
--- ../lcdproc/server/drivers/hd44780-serial.c 2007-01-21 20:41:01.000000000 +0100
+++ server/drivers/hd44780-serial.c 2007-01-24 16:51:38.000000000 +0100
@@ -241,6 +241,10 @@
void
serial_HD44780_senddata (PrivateData *p, unsigned char displayID, unsigned char flags, unsigned char ch)
{
+
+ if (flags != RS_DATA && ch == 0xC9)
+ return;
+
/* Filter illegally sent escape characters (for interfaces without data escape) */
if (flags == RS_DATA && SERIAL_IF.data_escape == 0 && ch == SERIAL_IF.instruction_escape)
ch='?';
--+HP7ph2BbKc20aGI--