diff options
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h')
-rw-r--r-- | drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h b/drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h index c394782d..1d5a86f7 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld_board_olimexsam7ex256.h @@ -68,7 +68,7 @@ static bool_t pwmRunning = FALSE; * * @notapi */ -static __inline void init_board(void) { +static inline void init_board(void) { // ********************************************************************************************* // InitSpi( ) // @@ -132,7 +132,7 @@ static __inline void init_board(void) { * * @notapi */ -static __inline void setpin_reset(bool_t state) { +static inline void setpin_reset(bool_t state) { if (state) palClearPad(IOPORT1, PIOA_LCD_RESET); else @@ -149,7 +149,7 @@ static __inline void setpin_reset(bool_t state) { * * @notapi */ -static __inline void set_backlight(uint8_t percent) { +static inline void set_backlight(uint8_t percent) { if (percent == 100) { /* Turn the pin on - No PWM */ if (pwmRunning) { @@ -179,7 +179,7 @@ static __inline void set_backlight(uint8_t percent) { * * @notapi */ -static __inline void acquire_bus(void) { +static inline void acquire_bus(void) { /* Nothing to do for this board as the LCD is the only device on the SPI port */ } @@ -188,7 +188,7 @@ static __inline void acquire_bus(void) { * * @notapi */ -static __inline void release_bus(void) { +static inline void release_bus(void) { // Nothing to do for this board as the LCD is the only device on the SPI port } @@ -199,7 +199,7 @@ static __inline void release_bus(void) { * * @notapi */ -static __inline void write_cmd(uint16_t cmd) { +static inline void write_cmd(uint16_t cmd) { // wait for the previous transfer to complete while((pSPI->SPI_SR & AT91C_SPI_TXEMPTY) == 0); // send the command @@ -213,7 +213,7 @@ static __inline void write_cmd(uint16_t cmd) { * * @notapi */ -static __inline void write_data(uint16_t data) { +static inline void write_data(uint16_t data) { // wait for the previous transfer to complete while((pSPI->SPI_SR & AT91C_SPI_TXEMPTY) == 0); // send the data @@ -228,7 +228,7 @@ static __inline void write_data(uint16_t data) { * * @notapi */ -static __inline uint16_t read_data(void) { +static inline uint16_t read_data(void) { #error "gdispNokia6610GE8: GDISP_HARDWARE_READPIXEL and GDISP_HARDWARE_SCROLL are not supported on this board" return 0; } |