board file fix
This commit is contained in:
parent
d6b75429b2
commit
2510f3e75b
2 changed files with 9 additions and 1 deletions
|
@ -55,7 +55,15 @@
|
||||||
/* Driver local functions. */
|
/* Driver local functions. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#if defined(GDISP_USE_CUSTOM_BOARD) && GDISP_USE_CUSTOM_BOARD
|
||||||
|
/* Include the user supplied board definitions */
|
||||||
|
#include "gdisp_lld_board.h"
|
||||||
|
#elif defined(BOARD_EMBEST_DMSTF4BB)
|
||||||
#include "gdisp_lld_board_embest_dmstf4bb.h"
|
#include "gdisp_lld_board_embest_dmstf4bb.h"
|
||||||
|
#else
|
||||||
|
/* Include the user supplied board definitions */
|
||||||
|
#include "gdisp_lld_board.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// Some common routines and macros
|
// Some common routines and macros
|
||||||
#define write_reg(reg, data) { write_index(reg); write_data(data); }
|
#define write_reg(reg, data) { write_index(reg); write_data(data); }
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
#if defined(GINPUT_MOUSE_USE_CUSTOM_BOARD) && GINPUT_MOUSE_USE_CUSTOM_BOARD
|
#if defined(GINPUT_MOUSE_USE_CUSTOM_BOARD) && GINPUT_MOUSE_USE_CUSTOM_BOARD
|
||||||
#include "ginput_lld_mouse_board.h"
|
#include "ginput_lld_mouse_board.h"
|
||||||
#elif defined(BOARD_EMBEST_DMST4BB)
|
#elif defined(BOARD_EMBEST_DMSTF4BB)
|
||||||
#include "ginput_lld_mouse_board_embest_dmstf4bb.h"
|
#include "ginput_lld_mouse_board_embest_dmstf4bb.h"
|
||||||
#else
|
#else
|
||||||
#include "ginput_lld_mouse_board_example.h"
|
#include "ginput_lld_mouse_board_example.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue