boards: arm: BT510: Move button1 to button0

This prevents build issues with some sample applications e.g. system_off

Signed-off-by: Jamie McCrae <jamie.mccrae@lairdconnect.com>
This commit is contained in:
Jamie McCrae 2022-03-14 09:28:41 +00:00 committed by Carles Cufí
commit 21cd3f2d39

View file

@ -36,7 +36,7 @@
buttons {
compatible = "gpio-keys";
button1: button_1 {
button0: button_0 {
gpios = <&gpio1 10 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "Push button switch 1 (SW1)";
};
@ -79,7 +79,7 @@
aliases {
led0 = &led1a;
led1 = &led1b;
sw0 = &button1;
sw0 = &button0;
};
};