aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-07-09 22:57:57 +0200
committerJoel Bodenmann <joel@unormal.org>2014-07-09 22:57:57 +0200
commit5c8c0c7b36cd8f2c94b67cce56e99804a048a906 (patch)
treeabb566e21fbea1f475cb3e1496cd5f5eaae3823e /drivers
parent538f9fcea3150b926cc1da0360b92254cc544a47 (diff)
downloaduGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.gz
uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.bz2
uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.zip
more whitepsaces
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c10
-rw-r--r--drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c14
2 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c b/drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c
index 8ebd619a..377f3d8b 100644
--- a/drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c
+++ b/drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c
@@ -21,21 +21,21 @@
#define GDISP_SCREEN_HEIGHT 48
#define GDISP_SCREEN_WIDTH 84
-#define GDISP_INITIAL_CONTRAST 51
-#define GDISP_INITIAL_BACKLIGHT 100
+#define GDISP_INITIAL_CONTRAST 51
+#define GDISP_INITIAL_BACKLIGHT 100
-#define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER << 0)
+#define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER << 0)
#include "drivers/gdisp/PCD8544/PCD8544.h"
/*===========================================================================*/
-/* Driver local routines . */
+/* Driver local routines. */
/*===========================================================================*/
// Some common routines and macros
#define RAM(g) ((uint8_t *)g->priv)
-#define xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_SCREEN_WIDTH)
+#define xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_SCREEN_WIDTH)
#define xybit(y) (1 << ((y) & 7))
/*===========================================================================*/
diff --git a/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c b/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c
index 5377b7cd..27ce5b91 100644
--- a/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c
+++ b/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c
@@ -24,22 +24,22 @@
#define GDISP_SCREEN_HEIGHT 65
#define GDISP_SCREEN_WIDTH 96
-#define GDISP_INITIAL_CONTRAST 51
-#define GDISP_INITIAL_BACKLIGHT 100
+#define GDISP_INITIAL_CONTRAST 51
+#define GDISP_INITIAL_BACKLIGHT 100
-#define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER << 0)
+#define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER << 0)
#include "drivers/gdisp/PCF8812/PCF8812.h"
/*===========================================================================*/
-/* Driver local routines . */
+/* Driver local routines. */
/*===========================================================================*/
// Some common routines and macros
-#define RAM(g) ((uint8_t *)g->priv)
+#define RAM(g) ((uint8_t *)g->priv)
-#define xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_MATRIX_WIDTH)
-#define xybit(y) (1 << ((y) & 7))
+#define xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_MATRIX_WIDTH)
+#define xybit(y) (1 << ((y) & 7))
/*===========================================================================*/
/* Driver exported functions. */