zephyr/tests/drivers/gpio/gpio_basic_api
Qiu Peiyang 41ffe0240d tests/gpio: fix test GPIO_INT_LEVEL bug
According to include/gpio.h, GPIO_INT_LEVEL is 0,
which means the branch to test GPIO_INT_LEVEL is
always false and GPIO_INT_LEVEL cases will always
pass.

This patch also fixes another minor bug in main.c.

Coverity-CID: 160074

Change-Id: I1fefa978e65bf801f244b4c2960cb87a26b0829e
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-01-25 14:25:48 +00:00
..
src tests/gpio: fix test GPIO_INT_LEVEL bug 2017-01-25 14:25:48 +00:00
Makefile tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
prj.conf tests/gpio: don't call risk function 2017-01-25 14:25:03 +00:00
testcase.ini tests/gpio: fix typo 2017-01-05 23:54:18 +00:00