cleanup & tdisp warning fix
This commit is contained in:
parent
896e67c900
commit
4d4a78f415
3 changed files with 576 additions and 578 deletions
|
@ -26,12 +26,10 @@
|
||||||
* ChibiOS/GFX is an official add-on library for ChibiOS/RT to
|
* ChibiOS/GFX is an official add-on library for ChibiOS/RT to
|
||||||
* interface all different types of LCDs and touchscreens.
|
* interface all different types of LCDs and touchscreens.
|
||||||
*
|
*
|
||||||
* <h2>Features</h2>
|
* <h2>Documentation</h2>
|
||||||
* - Modular design to reduce memory footprint
|
* - http://chibios-gfx.com
|
||||||
* - HAL abstractions allows it to easily write new drivers
|
*
|
||||||
* - Completely written in C, usable in C++ without any modifications
|
* <h2>License</h2>
|
||||||
* - Supports hardware accelerated drawing by LCDs
|
* - http://chibios-gfx.com/license.html
|
||||||
* - Very flexible interfaces for calibration storage and more
|
|
||||||
* - We are having our own homepage: http://chibios-gfx.com
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ void tdispSetCursor(coord_t col, coord_t row) {
|
||||||
MUTEX_LEAVE();
|
MUTEX_LEAVE();
|
||||||
}
|
}
|
||||||
|
|
||||||
void tdispCreateChar(uint8_t address, uint8_t *charmap) {
|
void tdispCreateChar(uint8_t address, char *charmap) {
|
||||||
/* make sure we don't write somewhere we're not supposed to */
|
/* make sure we don't write somewhere we're not supposed to */
|
||||||
if (address < TDISP.maxCustomChars) {
|
if (address < TDISP.maxCustomChars) {
|
||||||
MUTEX_ENTER();
|
MUTEX_ENTER();
|
||||||
|
|
Loading…
Add table
Reference in a new issue