zephyr/tests/drivers/gpio/gpio_basic_api/src
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
..
main.c tests/gpio: fix test GPIO_INT_LEVEL bug 2017-01-25 14:25:48 +00:00
Makefile tests: add gpio driver test case 2016-12-24 16:24:26 +00:00
test_callback_manage.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
test_callback_trigger.c tests/gpio: fix test GPIO_INT_LEVEL bug 2017-01-25 14:25:48 +00:00
test_gpio.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
test_pin_rw.c tests/gpio: don't call risk function 2017-01-25 14:25:03 +00:00