whitespaces
This commit is contained in:
parent
8da73efced
commit
34a64b13c4
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ uint16_t tpReadX(void) {
|
||||||
x = cal.xm * _tpReadRealX() + cal.xn;
|
x = cal.xm * _tpReadRealX() + cal.xn;
|
||||||
y = cal.ym * _tpReadRealY() + cal.yn;
|
y = cal.ym * _tpReadRealY() + cal.yn;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch(gdispGetOrientation()) {
|
switch(gdispGetOrientation()) {
|
||||||
case GDISP_ROTATE_0:
|
case GDISP_ROTATE_0:
|
||||||
return x;
|
return x;
|
||||||
|
@ -193,6 +194,7 @@ uint16_t tpReadY(void) {
|
||||||
x = cal.xm * _tpReadRealX() + cal.xn;
|
x = cal.xm * _tpReadRealX() + cal.xn;
|
||||||
y = cal.ym * _tpReadRealY() + cal.yn;
|
y = cal.ym * _tpReadRealY() + cal.yn;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch(gdispGetOrientation()) {
|
switch(gdispGetOrientation()) {
|
||||||
case GDISP_ROTATE_0:
|
case GDISP_ROTATE_0:
|
||||||
return y;
|
return y;
|
||||||
|
|
Loading…
Add table
Reference in a new issue