aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/PCD8544
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/gdisp/PCD8544
parent538f9fcea3150b926cc1da0360b92254cc544a47 (diff)
downloaduGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.gz
uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.bz2
uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.zip
more whitepsaces
Diffstat (limited to 'drivers/gdisp/PCD8544')
-rw-r--r--drivers/gdisp/PCD8544/gdisp_lld_PCD8544.c10
1 files changed, 5 insertions, 5 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))
/*===========================================================================*/