From 1d817f70c99de8cae0776ceb6c028b7af9ebe2a5 Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 27 Feb 2006 06:15:55 +0000 Subject: [lcd4linux @ 2006-02-27 06:15:55 by reinelt] indent... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@649 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_Noritake.c | 11 +++++++---- drv_generic_graphic.c | 7 +++++-- drv_generic_i2c.h | 7 +++++-- drv_generic_text.c | 7 +++++-- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/drv_Noritake.c b/drv_Noritake.c index 3bbc03b..6763792 100644 --- a/drv_Noritake.c +++ b/drv_Noritake.c @@ -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) diff --git a/drv_generic_graphic.c b/drv_generic_graphic.c index ca04ab2..a2dcda4 100644 --- a/drv_generic_graphic.c +++ b/drv_generic_graphic.c @@ -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; diff --git a/drv_generic_i2c.h b/drv_generic_i2c.h index 2236267..e30e8f8 100644 --- a/drv_generic_i2c.h +++ b/drv_generic_i2c.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic_i2c.h,v 1.5 2006/02/25 13:36:33 geronet Exp $ +/* $Id: drv_generic_i2c.h,v 1.6 2006/02/27 06:15:55 reinelt Exp $ * * generic driver helper for i2c displays * @@ -23,6 +23,9 @@ * * * $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 @@ void drv_generic_i2c_data(const unsigned char data); void drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length); -#endif /* */ +#endif /* */ diff --git a/drv_generic_text.c b/drv_generic_text.c index 6816be0..e50c322 100644 --- a/drv_generic_text.c +++ b/drv_generic_text.c @@ -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; -- cgit v1.2.3