Browse Source

S6D1121 macro fix

remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 10 years ago
parent
commit
971c9fd0d9
  1. 11
      drivers/gdisp/S6D1121/gdisp_lld.c

11
drivers/gdisp/S6D1121/gdisp_lld.c

@ -39,13 +39,16 @@
/* Driver local definitions. */
/*===========================================================================*/
#ifndef GDISP_SCREEN_HEIGHT
#define GDISP_SCREEN_HEIGHT 320
#if defined(GDISP_SCREEN_HEIGHT)
#undef GISP_SCREEN_HEIGHT
#endif
#ifndef GDISP_SCREEN_WIDTH
#define GDISP_SCREEN_WIDTH 240
#if defined(GDISP_SCREEN_WIDTH)
#undef GDISP_SCREEN_WIDTH
#endif
#define GDISP_SCREEN_HEIGHT 320
#define GDISP_SCREEN_WIDTH 240
#define GDISP_INITIAL_CONTRAST 50
#define GDISP_INITIAL_BACKLIGHT 100

Loading…
Cancel
Save