Small fixes to ILI9342
This commit is contained in:
parent
a21db25ecf
commit
a7cf866da2
@ -19,8 +19,8 @@
|
||||
#endif
|
||||
|
||||
#define GDISP_DRIVER_VMT GDISPVMT_ILI9342
|
||||
#include "drivers/gdisp/ILI9342/gdisp_lld_config.h"
|
||||
#include "src/gdisp/gdisp_driver.h"
|
||||
#include "gdisp_lld_config.h"
|
||||
#include "../../../src/gdisp/gdisp_driver.h"
|
||||
|
||||
#include "board_ILI9342.h"
|
||||
|
||||
@ -28,16 +28,12 @@
|
||||
/* Driver local definitions. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define GDISP_SCREEN_HEIGHT 240
|
||||
#define GDISP_SCREEN_WIDTH 320
|
||||
/*
|
||||
#ifndef GDISP_SCREEN_HEIGHT
|
||||
#define GDISP_SCREEN_HEIGHT 320
|
||||
#define GDISP_SCREEN_HEIGHT 240
|
||||
#endif
|
||||
#ifndef GDISP_SCREEN_WIDTH
|
||||
#define GDISP_SCREEN_WIDTH 240
|
||||
#define GDISP_SCREEN_WIDTH 320
|
||||
#endif
|
||||
*/
|
||||
#ifndef GDISP_INITIAL_CONTRAST
|
||||
#define GDISP_INITIAL_CONTRAST 50
|
||||
#endif
|
||||
|
@ -15,7 +15,6 @@
|
||||
/*===========================================================================*/
|
||||
|
||||
#define GDISP_HARDWARE_STREAM_WRITE TRUE
|
||||
#define GDISP_HARDWARE_STREAM_READ FALSE
|
||||
#define GDISP_HARDWARE_CONTROL TRUE
|
||||
|
||||
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
|
||||
|
Loading…
Reference in New Issue
Block a user