fixes
This commit is contained in:
parent
92329beb90
commit
45aa3779ab
6
glcd.c
6
glcd.c
@ -258,12 +258,6 @@ void lcdDrawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t co
|
||||
}
|
||||
}
|
||||
|
||||
void lcdDrawArrow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color) {
|
||||
lcdDrawLine(x0, y0, x1, y1, color);
|
||||
lcdDrawLine(x1, y1, x1-5, y1+5, color);
|
||||
lcdDrawLine(x1, y1, x1-5, y1-5, color);
|
||||
}
|
||||
|
||||
void lcdDrawChar(uint16_t x, uint16_t y, unsigned char c, uint16_t charcolor, uint16_t bkcolor) {
|
||||
uint16_t i = 0;
|
||||
uint16_t j = 0;
|
||||
|
1
glcd.h
1
glcd.h
@ -55,7 +55,6 @@ void lcdDrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t co
|
||||
void lcdDrawRect(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t filled, uint16_t color);
|
||||
void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t* 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 lcdDrawArrow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
|
||||
void lcdDrawString(uint16_t x, uint16_t y, uint8_t *str,uint16_t color, uint16_t bkColor);
|
||||
void lcdDrawChar(uint16_t x, uint16_t y, unsigned char c, uint16_t charcolor, uint16_t bkColor);
|
||||
uint16_t lcdGetHeight(void);
|
||||
|
Loading…
Reference in New Issue
Block a user