doc
This commit is contained in:
parent
fdb5d8a580
commit
fda647c6c2
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ static uint16_t _tpReadRealX(void) {
|
|||
results += tp_lld_read_x();
|
||||
}
|
||||
|
||||
// 12-bit
|
||||
x = (((SCREEN_WIDTH-1) * (results/CONVERSIONS)) / 2048);
|
||||
|
||||
return x;
|
||||
|
@ -93,6 +94,7 @@ static uint16_t _tpReadRealY(void) {
|
|||
results += tp_lld_read_y();
|
||||
}
|
||||
|
||||
// 12-bit
|
||||
y = (((SCREEN_HEIGHT-1) * (results/CONVERSIONS)) / 2048);
|
||||
|
||||
return y;
|
||||
|
|
Loading…
Add table
Reference in a new issue