From 66129643bfb27e9fcdc487f34560647006caf555 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 19 Feb 2006 15:37:38 +0000 Subject: [lcd4linux @ 2006-02-19 15:37:38 by reinelt] CF635 GPO patch from cmaj git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@639 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_Crystalfontz.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drv_Crystalfontz.c b/drv_Crystalfontz.c index e97238e..e179a15 100644 --- a/drv_Crystalfontz.c +++ b/drv_Crystalfontz.c @@ -1,4 +1,4 @@ -/* $Id: drv_Crystalfontz.c,v 1.38 2006/01/30 06:25:49 reinelt Exp $ +/* $Id: drv_Crystalfontz.c,v 1.39 2006/02/19 15:37:38 reinelt Exp $ * * new style driver for Crystalfontz display modules * @@ -23,6 +23,9 @@ * * * $Log: drv_Crystalfontz.c,v $ + * Revision 1.39 2006/02/19 15:37:38 reinelt + * CF635 GPO patch from cmaj + * * Revision 1.38 2006/01/30 06:25:49 reinelt * added CVS Revision * @@ -252,7 +255,7 @@ static MODEL Models[] = { {632, "632", 2, 16, 0, 0, 1, 0}, {633, "633", 2, 16, 4, 4, 2, 18}, {634, "634", 4, 20, 0, 0, 1, 0}, - {635, "635", 4, 20, 0, 0, 3, 22}, + {635, "635", 4, 20, 4, 12, 3, 22}, {636, "636", 2, 16, 0, 0, 1, 0}, {-1, "Unknown", -1, -1, 0, 0, 0, 0} }; @@ -674,7 +677,8 @@ static int drv_CF_GPI(const int num) static int drv_CF_GPO(const int num, const int val) { - static unsigned char PWM[4] = { 0, }; + static unsigned char PWM2[4] = { 0, 0, 0, 0}; + static unsigned char PWM3[2]; int v = val; @@ -683,11 +687,15 @@ static int drv_CF_GPO(const int num, const int val) if (v > 100) v = 100; - PWM[num] = v; - switch (Protocol) { case 2: - drv_CF_send(17, 4, PWM); + PWM2[num] = v; + drv_CF_send(17, 4, PWM2); + break; + case 3: + PWM3[0] = num + 1; + PWM3[1] = v; + drv_CF_send(34, 2, PWM3); break; } @@ -1044,7 +1052,7 @@ int drv_CF_init(const char *section, const int quiet) WIDGET_CLASS wc; int ret; - info("%s: %s", Name, "$Revision: 1.38 $"); + info("%s: %s", Name, "$Revision: 1.39 $"); /* start display */ if ((ret = drv_CF_start(section)) != 0) { -- cgit v1.2.3 t>
path: root/isdb-t/br-ma-JoaoLisboa (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-11-25dtv-scan-tables: hu-Digikabel changesHrotkó Gábor1-1/+26
2022-04-30pt-All: fix modulationMauro Carvalho Chehab1-10/+10
2022-04-30pt-All: Update Portugal channelsMauro Carvalho Chehab1-34/+70
2022-03-07Update Brazilian ISDB-T tablesMauro Carvalho Chehab549-2923/+13860
2022-03-07Update satellite channel lists from LyngsatMauro Carvalho Chehab54-1882/+2326
2021-12-14dtv-scan-tables: latest UK changesSimon Liddicott4-24/+24
2021-04-30update Brazilian scan filesMauro Carvalho Chehab2476-12805/+69312
2021-04-30Remove legacy entriesMauro Carvalho Chehab129-24898/+0
2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721
2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182
2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666