]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2006-02-27 06:15:55 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 27 Feb 2006 06:15:55 +0000 (06:15 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 27 Feb 2006 06:15:55 +0000 (06:15 +0000)
indent...

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@649 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_Noritake.c
drv_generic_graphic.c
drv_generic_i2c.h
drv_generic_text.c

index 3bbc03b9b4597b3bf6389053e15b4d0eb4a7b9b2..676379279edc0236ac3bcc6a91744c277808805d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_Noritake.c,v 1.6 2006/02/25 13:36:33 geronet Exp $
+/* $Id: drv_Noritake.c,v 1.7 2006/02/27 06:15:55 reinelt Exp $
  * 
  * Driver for a Noritake GU128x32-311 graphical display.
  * 
@@ -22,6 +22,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: drv_Noritake.c,v $
+ * Revision 1.7  2006/02/27 06:15:55  reinelt
+ * indent...
+ *
  * Revision 1.6  2006/02/25 13:36:33  geronet
  * updated indent.sh, applied coding style
  *
@@ -127,8 +130,8 @@ static unsigned char SIGNAL_CS;     /* Chip select, OUTPUT, negative logic, pport AU
 static unsigned char SIGNAL_WR;        /* Write        OUTPUT, negative logic, pport STOBE */
 static unsigned char SIGNAL_RESET;     /* Reset,       OUTPUT, negative logic, pport INIT */
 static unsigned char SIGNAL_BLANK;     /* Blank,       OUTPUT , negative logic, pport SELECT-IN */
-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       /* static unsigned char SIGNAL_BUSY; *//* Busy,        INPUT , positive logic, pport BUSY, not used */
-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* static unsigned char SIGNAL_FRP; *//* Frame Pulse, INPUT , positive logic, pport ACK, not used */
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 /* static unsigned char SIGNAL_BUSY; *//* Busy,        INPUT , positive logic, pport BUSY, not used */
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /* static unsigned char SIGNAL_FRP; *//* Frame Pulse, INPUT , positive logic, pport ACK, not used */
 void (*drv_Noritake_clear) (void);
 
 /* Data port is positive logic */
@@ -348,7 +351,7 @@ int drv_Noritake_init(const char *section, const int quiet)
     WIDGET_CLASS wc;
     int ret;
 
-    info("%s: %s", Name, "$Revision: 1.6 $");
+    info("%s: %s", Name, "$Revision: 1.7 $");
 
     /* start display */
     if ((ret = drv_Noritake_start(section)) != 0)
index ca04ab202679210017b8db1735d0b5334aff1f2b..a2dcda49e0bd19f98272e7c7f709e47c1f50e23c 100644 (file)
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_generic_graphic.c,v $
+ * Revision 1.24  2006/02/27 06:15:55  reinelt
+ * indent...
+ *
  * Revision 1.23  2006/02/27 06:14:46  reinelt
  * graphic bug resulting in all black pixels solved
  *
@@ -675,9 +678,9 @@ int drv_generic_graphic_clear(void)
     int i, l;
 
     for (i = 0; i < LCOLS * LROWS; i++)
-       drv_generic_graphic_FB[LAYERS-1][i] = BG_COL;
+       drv_generic_graphic_FB[LAYERS - 1][i] = BG_COL;
 
-    for (l = 0; l < LAYERS-1; l++)
+    for (l = 0; l < LAYERS - 1; l++)
        for (i = 0; i < LCOLS * LROWS; i++)
            drv_generic_graphic_FB[l][i] = NO_COL;
 
index 2236267c90421f558a0816f5abb33277bc11a844..e30e8f841b02180a48667a7610bf1f592d2ca569 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_i2c.h,v 1.5 2006/02/25 13:36:33 geronet Exp $\r
+/* $Id: drv_generic_i2c.h,v 1.6 2006/02/27 06:15:55 reinelt Exp $\r
  *\r
  * generic driver helper for i2c displays\r
  *\r
@@ -23,6 +23,9 @@
  *\r
  *\r
  * $Log: drv_generic_i2c.h,v $
+ * Revision 1.6  2006/02/27 06:15:55  reinelt
+ * indent...
+ *
  * Revision 1.5  2006/02/25 13:36:33  geronet
  * updated indent.sh, applied coding style
  *
@@ -79,4 +82,4 @@
 \rvoid drv_generic_i2c_data(const unsigned char data);
 \rvoid drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length);
 \r\r
-#endif /* \r */
+#endif                         /* \r */
index 6816be07bf950b7d758d435d4890bb6cac6788b9..e50c322119a6de3f3815d4cfc80432f3ad5e3bce 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_text.c,v 1.32 2006/02/25 13:36:33 geronet Exp $
+/* $Id: drv_generic_text.c,v 1.33 2006/02/27 06:15:55 reinelt Exp $
  *
  * generic driver helper for text-based displays
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: drv_generic_text.c,v $
+ * Revision 1.33  2006/02/27 06:15:55  reinelt
+ * indent...
+ *
  * Revision 1.32  2006/02/25 13:36:33  geronet
  * updated indent.sh, applied coding style
  *
@@ -767,7 +770,7 @@ static void drv_generic_text_bar_create_segments(void)
                    break;
                /* hollow style, val(1,2) == 1, like '[' */
 /*                        if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_FIRST && BarFB[n].style == STYLE_HOLLOW)
-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             break;
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             break;
 *//* hollow style, val(1,2) == 1, like ']' */
 /*                        if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_LAST && BarFB[n].style == STYLE_HOLLOW)
                               break;