fixes
This commit is contained in:
parent
7e9868616c
commit
5e37443a6f
1 changed files with 1 additions and 10 deletions
11
touchpad.c
11
touchpad.c
|
@ -29,16 +29,7 @@ uint16_t tpReadX(void) {
|
||||||
|
|
||||||
x = (((lcdGetWidth()-1) * x)/2048);
|
x = (((lcdGetWidth()-1) * x)/2048);
|
||||||
|
|
||||||
switch(lcdGetOrientation()) {
|
return x;
|
||||||
case portrait:
|
|
||||||
break;
|
|
||||||
case portraitInv:
|
|
||||||
break;
|
|
||||||
case landscape:
|
|
||||||
break;
|
|
||||||
case landscapeInv:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t tpReadY(void) {
|
uint16_t tpReadY(void) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue