Skip to content
Browse files

boards: arm: nrf52840_pca10090: fix warning in board.c

Initialize a variable to avoid a compiler warning
when the reset pin is not selected.

Signed-off-by: Emanuele Di Santo <>
  • Loading branch information...
lemrey authored and ioannisg committed Jul 10, 2019
1 parent e715562 commit c231988d9ce122fe2ad3d458b3d568f83d8e84ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 boards/arm/nrf52840_pca10090/board.c
@@ -226,7 +226,7 @@ static void reset_pin_wait_low(struct device *port, u32_t pin)
static int reset_pin_configure(struct device *p0, struct device *p1)
int err;
u32_t pin;
u32_t pin = 0;
struct device *port = NULL;

static struct gpio_callback gpio_ctx;

0 comments on commit c231988

Please sign in to comment.
You can’t perform that action at this time.