aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h')
-rw-r--r--boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h b/boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h
index 370861ee..99e232fc 100644
--- a/boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h
+++ b/boards/base/Mikromedia-STM32-M4-ILI9341/gaudio_play_board.h
@@ -32,7 +32,7 @@ static const SPIConfig spicfg = {
};
// Initialise the board
-static inline void board_init(void) {
+static GFXINLINE void board_init(void) {
palSetPadMode(GPIOC, GPIOC_MP3_CS, PAL_MODE_OUTPUT_PUSHPULL);
palSetPadMode(GPIOC, GPIOC_MP3_RST, PAL_MODE_OUTPUT_PUSHPULL);
palSetPadMode(GPIOC, GPIOC_MP3_DCS, PAL_MODE_OUTPUT_PUSHPULL);
@@ -51,7 +51,7 @@ static inline void board_init(void) {
#define board_dreq() GET_DREQ
// Start a command write
-static inline void board_startcmdwrite(void) {
+static GFXINLINE void board_startcmdwrite(void) {
#if SPI_USE_MUTUAL_EXCLUSION
spiAcquireBus(SPI_PORT);
#endif
@@ -59,7 +59,7 @@ static inline void board_startcmdwrite(void) {
}
// End a command write
-static inline void board_endcmdwrite(void) {
+static GFXINLINE void board_endcmdwrite(void) {
SET_CS;
#if SPI_USE_MUTUAL_EXCLUSION
spiReleaseBus(SPI_PORT);
@@ -73,7 +73,7 @@ static inline void board_endcmdwrite(void) {
#define board_endcmdread() board_endcmdwrite()
// Start a data write
-static inline void board_startdatawrite(void) {
+static GFXINLINE void board_startdatawrite(void) {
#if SPI_USE_MUTUAL_EXCLUSION
spiAcquireBus(SPI_PORT);
#endif
@@ -81,7 +81,7 @@ static inline void board_startdatawrite(void) {
}
// End a data write
-static inline void board_enddatawrite(void) {
+static GFXINLINE void board_enddatawrite(void) {
#if SPI_USE_MUTUAL_EXCLUSION
spiReleaseBus(SPI_PORT);
#endif