cleanup
This commit is contained in:
parent
4d4acdd9d1
commit
b0b85efa18
6
glcd.c
6
glcd.c
@ -119,8 +119,8 @@ void lcdSetFont(uint8_t *fnt) {
|
||||
font = fnt;
|
||||
}
|
||||
|
||||
void lcdEnableTransparentText(uint8_t en) {
|
||||
tpText = en;
|
||||
void lcdEnableTransparentText(uint8_t transparency) {
|
||||
tpText = transparency;
|
||||
}
|
||||
|
||||
void lcdDrawChar(char c) {
|
||||
@ -132,7 +132,7 @@ void lcdDrawChar(char c) {
|
||||
|
||||
// No support for nongraphic characters, so just ignore them
|
||||
if(c < 0x20 || c > 0x7F) {
|
||||
if(c=='\n')
|
||||
if(c == '\n')
|
||||
lcdLineBreak();
|
||||
return;
|
||||
}
|
||||
|
2
glcd.h
2
glcd.h
@ -53,7 +53,7 @@ void lcdDrawRect(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t fil
|
||||
void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, const char* str, uint16_t fontColor, uint16_t bkColor);
|
||||
void lcdDrawCircle(uint16_t x, uint16_t y, uint16_t radius, uint8_t filled, uint16_t color);
|
||||
|
||||
void lcdEnableTransparentText(uint8_t en);
|
||||
void lcdEnableTransparentText(uint8_t transparency);
|
||||
void lcdSetFont(uint8_t *fnt);
|
||||
void lcdDrawChar(char c);
|
||||
void lcdPutString(const char *str);
|
||||
|
Loading…
Reference in New Issue
Block a user