commit | 935663f05e60cd02b5b9d27e3ab445bed5143c48 | [log] [tgz] |
---|---|---|
author | Qiu Peiyang <peiyangx.qiu@intel.com> | Fri Mar 03 14:52:33 2017 +0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Tue Mar 07 23:01:52 2017 +0000 |
tree | f0357386dd30c4a9bd4ea7f6114cce23c740e719 | |
parent | 2d033483de467ff276e48dfa4ce77cbd649203d6 [diff] |
tests: fix disabling of GPIO interrupt issue According to ZEP-1717, removing the callback from the gpio is not enough to disable interruptions. You also need to call gpio_pin_configure() on the input pin without the GPIO_INT flag to totally disable the interrupt for the pin. This commit will stop level interrupt from being fired constantly. Change-Id: I019d7cea0bc0d5e5ff4b74165472ed11de1733bb Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>