Skip to content
Commit 935663f0 authored by Qiu Peiyang's avatar Qiu Peiyang Committed by Anas Nashif
Browse files

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: default avatarQiu Peiyang <peiyangx.qiu@intel.com>
parent 2d033483
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment