chaos.proton@gmail.com 93104fb4fc 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
2011-11-08 07:52:20 +00:00
..
2011-06-30 13:29:04 +00:00
2011-07-03 13:21:32 +00:00
2011-06-23 15:24:10 +00:00
2011-07-04 07:39:49 +00:00
2011-07-03 13:21:32 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-09-30 06:13:05 +00:00
2011-07-04 08:18:58 +00:00
2011-06-23 15:24:10 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-23 15:24:10 +00:00
2011-06-23 15:24:10 +00:00
2011-06-15 02:14:23 +00:00
2011-06-23 15:24:10 +00:00
2011-06-23 15:24:10 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-09-30 06:13:05 +00:00
2011-07-04 07:39:49 +00:00
2011-06-23 15:24:10 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 15:21:44 +00:00
2011-06-15 15:21:44 +00:00
2011-09-30 06:13:05 +00:00
2011-07-04 07:39:49 +00:00
2011-09-30 06:13:05 +00:00
2011-07-04 07:52:55 +00:00
2011-09-30 06:13:05 +00:00
2011-06-15 02:14:23 +00:00
2011-07-01 12:36:16 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-06-15 02:14:23 +00:00
2011-07-04 07:39:49 +00:00
2011-07-04 07:39:49 +00:00
2011-09-30 06:13:05 +00:00
2011-06-15 02:14:23 +00:00

-- cn --
按需要生成工程文件:
1. 修改 rtconfig.py :
CROSS_TOOL='keil'           #使用的工具链
STM32_TYPE = 'STM32F10X_HD' #STM32对应的型号.
2. 修改 rtconfig.h 配置需要的功能.
2. 执行 scons --target=mdk  生成MDK工程文件.

note: 需要安装 python,scons.

-- en --