fixed compiler warnings
This commit is contained in:
parent
2f7c6867a0
commit
3e75dfd965
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ uint16_t tpReadX(void) {
|
||||||
case landscapeInv:
|
case landscapeInv:
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t tpReadY(void) {
|
uint16_t tpReadY(void) {
|
||||||
|
@ -116,6 +118,8 @@ uint16_t tpReadY(void) {
|
||||||
case landscapeInv:
|
case landscapeInv:
|
||||||
return SCREEN_WIDTH - x;
|
return SCREEN_WIDTH - x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void tpDrawCross(uint16_t x, uint16_t y) {
|
static void tpDrawCross(uint16_t x, uint16_t y) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue