aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/HX8347D
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-10-18 16:44:56 +1000
committerinmarket <andrewh@inmarket.com.au>2013-10-18 16:44:56 +1000
commitc9311d9851c28f555a26de8757d7aca9caa255d3 (patch)
tree4df9e53a6ce21464ce051265557427982eaa0d84 /drivers/gdisp/HX8347D
parent66d2d279674852f9c8631e1eb6a82f68b01778c1 (diff)
downloaduGFX-c9311d9851c28f555a26de8757d7aca9caa255d3.tar.gz
uGFX-c9311d9851c28f555a26de8757d7aca9caa255d3.tar.bz2
uGFX-c9311d9851c28f555a26de8757d7aca9caa255d3.zip
Changed board_XXXX_template.h so that it can be directly copied to board_XXXX.h in the project directory and it will compile with stub functions.
Diffstat (limited to 'drivers/gdisp/HX8347D')
-rw-r--r--drivers/gdisp/HX8347D/board_HX8347D_template.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/drivers/gdisp/HX8347D/board_HX8347D_template.h b/drivers/gdisp/HX8347D/board_HX8347D_template.h
index 6084d1bf..528fb027 100644
--- a/drivers/gdisp/HX8347D/board_HX8347D_template.h
+++ b/drivers/gdisp/HX8347D/board_HX8347D_template.h
@@ -28,6 +28,8 @@
* @notapi
*/
static inline void init_board(GDisplay *g, unsigned display) {
+ (void) g;
+ (void) display;
}
/**
@@ -38,6 +40,7 @@ static inline void init_board(GDisplay *g, unsigned display) {
* @notapi
*/
static inline void post_init_board(GDisplay *g) {
+ (void) g;
}
/**
@@ -49,7 +52,8 @@ static inline void post_init_board(GDisplay *g) {
* @notapi
*/
static inline void setpin_reset(GDisplay *g, bool_t state) {
-
+ (void) g;
+ (void) state;
}
/**
@@ -61,7 +65,8 @@ static inline void setpin_reset(GDisplay *g, bool_t state) {
* @notapi
*/
static inline void set_backlight(GDisplay *g, uint8_t percent) {
-
+ (void) g;
+ (void) percent;
}
/**
@@ -72,7 +77,7 @@ static inline void set_backlight(GDisplay *g, uint8_t percent) {
* @notapi
*/
static inline void acquire_bus(GDisplay *g) {
-
+ (void) g;
}
/**
@@ -83,7 +88,7 @@ static inline void acquire_bus(GDisplay *g) {
* @notapi
*/
static inline void release_bus(GDisplay *g) {
-
+ (void) g;
}
/**
@@ -94,7 +99,7 @@ static inline void release_bus(GDisplay *g) {
* @notapi
*/
static inline void busmode16(GDisplay *g) {
-
+ (void) g;
}
/**
@@ -105,7 +110,7 @@ static inline void busmode16(GDisplay *g) {
* @notapi
*/
static inline void busmode8(GDisplay *g) {
-
+ (void) g;
}
/**
@@ -117,7 +122,8 @@ static inline void busmode8(GDisplay *g) {
* @notapi
*/
static inline void write_index(GDisplay *g, uint8_t index) {
-
+ (void) g;
+ (void) index;
}
/**
@@ -130,7 +136,8 @@ static inline void write_index(GDisplay *g, uint8_t index) {
* @notapi
*/
static inline void write_data(GDisplay *g, uint8_t data) {
-
+ (void) g;
+ (void) data;
}
/**
@@ -143,7 +150,8 @@ static inline void write_data(GDisplay *g, uint8_t data) {
* @notapi
*/
static inline void write_ram16(GDisplay *g, uint16_t data) {
-
+ (void) g;
+ (void) data;
}
#endif /* _GDISP_LLD_BOARD_H */