sm1000_main: Use !pressed rather than released.
authorsjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 24 Oct 2015 23:13:18 +0000 (23:13 +0000)
committersjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 24 Oct 2015 23:13:18 +0000 (23:13 +0000)
commitcc72e8cad4727a004b721aa15d5e179c5244d2f5
tree1526f587f26929cdf0081e083caa67abb693b475
parent2e52a06669691b7b393d7ae7d9b70a8fdd436586
sm1000_main: Use !pressed rather than released.

We could miss a release event as it is one-shot, whereas !pressed is
constant.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2474 01035d8c-6547-0410-b346-abe4f91aad63
codec2-dev/stm32/src/sm1000_main.c