more whitepsaces

ugfx_release_2.6
Joel Bodenmann 2014-07-09 22:57:57 +02:00
parent 538f9fcea3
commit 5c8c0c7b36
2 changed files with 12 additions and 12 deletions

View File

@ -21,21 +21,21 @@
#define GDISP_SCREEN_HEIGHT 48 #define GDISP_SCREEN_HEIGHT 48
#define GDISP_SCREEN_WIDTH 84 #define GDISP_SCREEN_WIDTH 84
#define GDISP_INITIAL_CONTRAST 51 #define GDISP_INITIAL_CONTRAST 51
#define GDISP_INITIAL_BACKLIGHT 100 #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" #include "drivers/gdisp/PCD8544/PCD8544.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver local routines . */ /* Driver local routines. */
/*===========================================================================*/ /*===========================================================================*/
// Some common routines and macros // 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_SCREEN_WIDTH) #define xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_SCREEN_WIDTH)
#define xybit(y) (1 << ((y) & 7)) #define xybit(y) (1 << ((y) & 7))
/*===========================================================================*/ /*===========================================================================*/

View File

@ -24,22 +24,22 @@
#define GDISP_SCREEN_HEIGHT 65 #define GDISP_SCREEN_HEIGHT 65
#define GDISP_SCREEN_WIDTH 96 #define GDISP_SCREEN_WIDTH 96
#define GDISP_INITIAL_CONTRAST 51 #define GDISP_INITIAL_CONTRAST 51
#define GDISP_INITIAL_BACKLIGHT 100 #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" #include "drivers/gdisp/PCF8812/PCF8812.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver local routines . */ /* Driver local routines. */
/*===========================================================================*/ /*===========================================================================*/
// Some common routines and macros // 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 xyaddr(x, y) ((x) + ((y) >> 3) * GDISP_MATRIX_WIDTH)
#define xybit(y) (1 << ((y) & 7)) #define xybit(y) (1 << ((y) & 7))
/*===========================================================================*/ /*===========================================================================*/
/* Driver exported functions. */ /* Driver exported functions. */