From 21cd3f2d39eb29747a4b4be75f620fa5d53f1121 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Mon, 14 Mar 2022 09:28:41 +0000 Subject: [PATCH] boards: arm: BT510: Move button1 to button0 This prevents build issues with some sample applications e.g. system_off Signed-off-by: Jamie McCrae --- boards/arm/bt510/bt510.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/bt510/bt510.dts b/boards/arm/bt510/bt510.dts index 0e7acc59d4c..7aff9710fbd 100644 --- a/boards/arm/bt510/bt510.dts +++ b/boards/arm/bt510/bt510.dts @@ -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; }; };