summaryrefslogtreecommitdiff
path: root/examples/kernel/timer_static.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-11-08 07:52:20 +0000
committer[email protected] <[email protected]>2011-11-08 07:52:20 +0000
commit93104fb4fc4361d75a3249a804a904db0d54a72a (patch)
treed4c80432251667fcee13f5bac81b28a2f1e73875 /examples/kernel/timer_static.c
parent44b91706e22f1fb79556e05a8e171b52b1f9b992 (diff)
bsp/stm32f10x/touch: return early when lost the position
Check whether finger is still on the screen. If not, we couldn't determine where the user has touched. It's better to return early rather than give garbage values. A more sensitive solution might be caculate the position once the interrupt occured. But it's not anti-shake friendly. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1789 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel/timer_static.c')
0 files changed, 0 insertions, 0 deletions