Skip to content

Commit

Permalink
DNM testing
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Głąb <[email protected]>
  • Loading branch information
nordic-segl committed Dec 19, 2024
1 parent b69df87 commit ef0c719
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/drivers/gpio/gpio_more_loops/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ static void *suite_setup(void)
_check_inputs(0b11111111111111111111111111111111);
TC_PRINT("Input pull up works.\n");

for (i = 0; i < npairs; i++) {
rc = gpio_pin_configure_dt(&in_pins[i], GPIO_INPUT | GPIO_PULL_DOWN);
zassert_equal(rc, 0, "IN[%d] config failed", i);
}
_check_inputs(0b00000000000000000000000000000000);
TC_PRINT("Input pull down works.\n");
// for (i = 0; i < npairs; i++) {
// rc = gpio_pin_configure_dt(&in_pins[i], GPIO_INPUT | GPIO_PULL_DOWN);
// zassert_equal(rc, 0, "IN[%d] config failed", i);
// }
// _check_inputs(0b00000000000000000000000000000000);
// TC_PRINT("Input pull down works.\n");

for (i = 0; i < npairs; i++) {
rc = gpio_pin_configure_dt(&in_pins[i], GPIO_INPUT);
Expand Down

0 comments on commit ef0c719

Please sign in to comment.