mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 17:29:23 +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