diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 6 | ||||
-rw-r--r-- | include/touchpad.h | 2 | ||||
-rw-r--r-- | include/touchpad_lld.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/console.h b/include/console.h index e474951c..7b543013 100644 --- a/include/console.h +++ b/include/console.h @@ -39,9 +39,9 @@ extern "C" {
#endif
-msg_t lcdConsoleInit(GConsole_t *console, coord_t x0, coord_t y0, coord_t width, coord_t height, font_t font, pixel_t bkcolor, pixel_t color);
-msg_t lcdConsolePut(GConsole_t *console, char c);
-msg_t lcdConsoleWrite(GConsole_t *console, const uint8_t *bp, size_t n);
+msg_t lcdConsoleInit(GConsole *console, coord_t x0, coord_t y0, coord_t width, coord_t height, font_t font, pixel_t bkcolor, pixel_t color);
+msg_t lcdConsolePut(GConsole *console, char c);
+msg_t lcdConsoleWrite(GConsole *console, const uint8_t *bp, size_t n);
#ifdef __cplusplus
}
diff --git a/include/touchpad.h b/include/touchpad.h index b07c4dc4..2fcb0c16 100644 --- a/include/touchpad.h +++ b/include/touchpad.h @@ -70,7 +70,7 @@ typedef struct cal_t { extern "C" { #endif -void tpInit(const TOUCHPADDriver_t *tp); +void tpInit(const TOUCHPADDriver *tp); uint16_t tpReadX(void); uint16_t tpReadY(void); void tpCalibrate(void); diff --git a/include/touchpad_lld.h b/include/touchpad_lld.h index 77dd1578..d207eb6c 100644 --- a/include/touchpad_lld.h +++ b/include/touchpad_lld.h @@ -76,7 +76,7 @@ /** * @brief Structure representing a Touchpad driver. */ -typedef struct _TOUCHPADDriver_t { +typedef struct _TOUCHPADDriver { /* * @brief Pointer to SPI driver. * @note SPI driver must be enabled in mcuconf.h and halconf.h @@ -113,7 +113,7 @@ typedef struct _TOUCHPADDriver_t { * bus with a fast flash memory chip. */ bool_t direct_init; -} TOUCHPADDriver_t; +} TOUCHPADDriver; /*===========================================================================*/ @@ -126,7 +126,7 @@ extern "C" { #endif /* Core functions */ - void tp_lld_init(const TOUCHPADDriver_t *tp); + void tp_lld_init(const TOUCHPADDriver *tp); uint16_t tp_lld_read_value(uint8_t cmd); uint16_t tp_lld_read_x(void); |