LCDproc development and user support list

Text archives Help


[Lcdproc] CFontz633 115200 patch


Chronological Thread 
  • From: pat AT erley.org (Pat Erley)
  • Subject: [Lcdproc] CFontz633 115200 patch
  • Date: Mon Jan 10 03:16:02 2005

This patch adds support for the 115200 baud rate for the CFontz633 module. This can help people like me out who hardset their unit to 115200 under the windows test program. Please test and consider for merging into the main source.

patch with:

patch -p0 -i CFontz633-add115200.patch --dry-run

from the top of the lcdproc source tree.

Pat Erley
--- server/drivers/CFontz633.c 2003-05-29 19:00:03.000000000 -0500
+++ server/drivers/CFontz633.c 2005-01-09 23:07:43.313449632 -0500
@@ -173,7 +173,8 @@
else if (tmp == 2400) speed = B2400;
else if (tmp == 9600) speed = B9600;
else if (tmp == 19200) speed = B19200;
- else { report (RPT_WARNING, "CFontz633_init: Speed must be 1200,
2400, 9600 or 19200. Using default value.\n", speed);
+ else if (tmp == 115200) speed = B115200;
+ else { report (RPT_WARNING, "CFontz633_init: Speed must be 1200,
2400, 9600 or 19200. 115200, Using default value.\n", speed);
}

/* New firmware version?



Archive powered by MHonArc 2.6.18.

Top of page