diff options
| author | [email protected] <[email protected]> | 2011-11-02 08:58:34 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-11-02 08:58:34 +0000 |
| commit | e803640027323b9bacc29bf3d11ee83f4464bd0b (patch) | |
| tree | 56466843f89a53c669431c2769dce2fce90ea0d0 /libcpu/SConscript | |
| parent | 9de3512c8a463d188baaa48570a0cc4277251726 (diff) | |
avoid divided by zero error
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
Diffstat (limited to 'libcpu/SConscript')
0 files changed, 0 insertions, 0 deletions
