diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-05-15 18:05:25 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-05-15 18:05:25 +0200 |
commit | 3571d18741ff00a327b6210a9c9d2594b4bdfb22 (patch) | |
tree | b695ce63ec58129db7e5ab16fb29891c50b02eaa /include | |
parent | 5d4de9e0ee0b19ff44b8d1ce6210edcf6eaa8cdb (diff) | |
download | uGFX-3571d18741ff00a327b6210a9c9d2594b4bdfb22.tar.gz uGFX-3571d18741ff00a327b6210a9c9d2594b4bdfb22.tar.bz2 uGFX-3571d18741ff00a327b6210a9c9d2594b4bdfb22.zip |
TDISP demo fix
Diffstat (limited to 'include')
-rw-r--r-- | include/tdisp/tdisp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tdisp/tdisp.h b/include/tdisp/tdisp.h index 0b721843..00b1cd21 100644 --- a/include/tdisp/tdisp.h +++ b/include/tdisp/tdisp.h @@ -108,7 +108,7 @@ void tdispSetCursor(coord_t col, coord_t row); * made up of @p tdispGetCharBitWidth() bits of data. Note that bits in multiple rows are not * packed. */ -void tdispCreateChar(uint8_t address, uint8_t *charmap); +void tdispCreateChar(uint8_t address, char* charmap); /** * @brief Draws a single character at the current cursor position and advances the cursor @@ -127,7 +127,7 @@ void tdispDrawChar(char c); * @note Any characters written past the end of a row may or may not be displayed on * the next row. The cursor is also left in an undefined position. */ -void tdispDrawString(char *s); +void tdispDrawString(char* s); /** * @brief Draws a string at a specific position @@ -138,7 +138,7 @@ void tdispDrawString(char *s); * * @note The cursor position after this call is not the same as before. */ -void tdispDrawStringLocation(coord_t col, coord_t row, char *s); +void tdispDrawStringLocation(coord_t col, coord_t row, char* s); /** * @brief Control different display properties @@ -149,14 +149,14 @@ void tdispDrawStringLocation(coord_t col, coord_t row, char *s); * @param[in] what What you want to control * @param[in] value The value to be assigned */ -void tdispControl(uint16_t what, void *value); +void tdispControl(uint16_t what, void* value); /** * @brief Set the backlight level * * @param[in] percent A percentage from 0 to 100%. 0% will turn off the display */ -#define tdispSetBacklight(percent) tdispControl(TDISP_CTRL_BACKLIGHT, (void *)((uint8_t)(percent))) +#define tdispSetBacklight(percent) tdispControl(TDISP_CTRL_BACKLIGHT, (void*)((uint8_t)(percent))) /** * @brief Set the cursor shape @@ -166,7 +166,7 @@ void tdispControl(uint16_t what, void *value); * @note Not all shapes are necessarily supported. The driver will make a similar * choice if the one specified is not available. */ -#define tdispSetCursorShape(shape) tdispControl(TDISP_CTRL_CURSOR, (void *)((cursorshape)(shape))) +#define tdispSetCursorShape(shape) tdispControl(TDISP_CTRL_CURSOR, (void*)((cursorshape)(shape))) /** * @brief Get the number of columns (width) in the display |