提交 065c3fb8 编写于 作者: C chaos.proton@gmail.com

fix typo in last commit...

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1790 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 93104fb4
...@@ -197,7 +197,7 @@ void touch_timeout(void* parameter) ...@@ -197,7 +197,7 @@ void touch_timeout(void* parameter)
} touch_previous; } touch_previous;
/* touch time is too short and we lost the position already. */ /* touch time is too short and we lost the position already. */
if ((!touch_down) && GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_0) != 0) if ((!touched_down) && GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_1) != 0)
return; return;
if (GPIO_ReadInputDataBit(GPIOB,GPIO_Pin_1) != 0) if (GPIO_ReadInputDataBit(GPIOB,GPIO_Pin_1) != 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册