aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
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. */