Skip to content

Commit fc2bdf5

Browse files
committed
nano_33_ble - Default the Power pin to on
This matches the sate of the LED if you run it on MBED. Note: wondering if the led defines in some of the dtsi files should be renamed from user to PWR to match what is shown in the pinout for these boards. But maybe used elsewhere for USER, like maybe maybe python?
1 parent 5c07c61 commit fc2bdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/arduino/nano_33_ble/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static int board_init(void)
2929
return res;
3030
}
3131

32-
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_INACTIVE);
32+
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_HIGH);
3333
}
3434

3535
SYS_INIT(board_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);

0 commit comments

Comments
 (0)