mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 13:49:22 +08:00
e803640027
The old code only checks touch->max_x > touch->min_x but not touch->max_x == touch->min_x. Thus may lead to divided by zero error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1782 bbd45198-f89e-11dd-88c7-29a3b14d5316
-- cn -- 按需要生成工程文件: 1. 修改 rtconfig.py : CROSS_TOOL='keil' #使用的工具链 STM32_TYPE = 'STM32F10X_HD' #STM32对应的型号. 2. 修改 rtconfig.h 配置需要的功能. 2. 执行 scons --target=mdk 生成MDK工程文件. note: 需要安装 python,scons. -- en --