aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610GE8
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-10-23 18:24:49 +1000
committerinmarket <andrewh@inmarket.com.au>2015-10-23 18:24:49 +1000
commit48a9d334b7a5b462b32c17a5fde07159deb4c280 (patch)
tree0f7032657b98730750a74ba6d09d01f2de119d4d /drivers/gdisp/Nokia6610GE8
parent17c940423ba2159b20965ea6d004386bc392aa68 (diff)
downloaduGFX-48a9d334b7a5b462b32c17a5fde07159deb4c280.tar.gz
uGFX-48a9d334b7a5b462b32c17a5fde07159deb4c280.tar.bz2
uGFX-48a9d334b7a5b462b32c17a5fde07159deb4c280.zip
Replace all inline definitions with GFXINLINE
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8')
-rw-r--r--drivers/gdisp/Nokia6610GE8/board_Nokia6610GE8_template.h16
-rw-r--r--drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c4
2 files changed, 10 insertions, 10 deletions
diff --git a/drivers/gdisp/Nokia6610GE8/board_Nokia6610GE8_template.h b/drivers/gdisp/Nokia6610GE8/board_Nokia6610GE8_template.h
index 0545fcd5..00762436 100644
--- a/drivers/gdisp/Nokia6610GE8/board_Nokia6610GE8_template.h
+++ b/drivers/gdisp/Nokia6610GE8/board_Nokia6610GE8_template.h
@@ -20,38 +20,38 @@
//#define GDISP_INITIAL_CONTRAST 50 // The initial contrast percentage
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
-static inline void init_board(GDisplay *g) {
+static GFXINLINE void init_board(GDisplay *g) {
(void) g;
}
-static inline void post_init_board(GDisplay *g) {
+static GFXINLINE void post_init_board(GDisplay *g) {
(void) g;
}
-static inline void setpin_reset(GDisplay *g, bool_t state) {
+static GFXINLINE void setpin_reset(GDisplay *g, bool_t state) {
(void) g;
(void) state;
}
-static inline void set_backlight(GDisplay *g, uint8_t percent) {
+static GFXINLINE void set_backlight(GDisplay *g, uint8_t percent) {
(void) g;
(void) percent;
}
-static inline void acquire_bus(GDisplay *g) {
+static GFXINLINE void acquire_bus(GDisplay *g) {
(void) g;
}
-static inline void release_bus(GDisplay *g) {
+static GFXINLINE void release_bus(GDisplay *g) {
(void) g;
}
-static inline void write_index(GDisplay *g, uint16_t index) {
+static GFXINLINE void write_index(GDisplay *g, uint16_t index) {
(void) g;
(void) index;
}
-static inline void write_data(GDisplay *g, uint16_t data) {
+static GFXINLINE void write_data(GDisplay *g, uint16_t data) {
(void) g;
(void) data;
}
diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
index f419abf5..ed885d19 100644
--- a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
+++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
@@ -129,7 +129,7 @@
#define write_cmd4(g, cmd, d1, d2, d3, d4) { write_index(g, cmd); write_data4(g, d1, d2, d3, d4); }
#if GDISP_HARDWARE_DRAWPIXEL
- static inline void set_viewpoint(GDisplay* g) {
+ static GFXINLINE void set_viewpoint(GDisplay* g) {
#if GDISP_NOKIA_ORIENTATION && GDISP_NEED_CONTROL
switch(g->g.Orientation) {
default:
@@ -158,7 +158,7 @@
}
#endif
-static inline void set_viewport(GDisplay* g) {
+static GFXINLINE void set_viewport(GDisplay* g) {
#if GDISP_NOKIA_ORIENTATION && GDISP_NEED_CONTROL
switch(g->g.Orientation) {
default: