diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-07-09 22:57:57 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-07-09 22:57:57 +0200 |
commit | 5c8c0c7b36cd8f2c94b67cce56e99804a048a906 (patch) | |
tree | abb566e21fbea1f475cb3e1496cd5f5eaae3823e /drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c | |
parent | 538f9fcea3150b926cc1da0360b92254cc544a47 (diff) | |
download | uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.gz uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.tar.bz2 uGFX-5c8c0c7b36cd8f2c94b67cce56e99804a048a906.zip |
more whitepsaces
Diffstat (limited to 'drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c')
-rw-r--r-- | drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c | 14 |
1 files changed, 7 insertions, 7 deletions
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. */ |