From 905855b7c20c3c4d3fca9ffd47fbe984fafb35b6 Mon Sep 17 00:00:00 2001 From: Gomez Julien <derwaan@gmail.com> Date: Thu, 3 Jan 2019 11:35:08 +0100 Subject: [PATCH] board/z1: Fix BTN0_PIN Set BTN0_PIN to GPIO_PIN(2, 5) in board.h #10611 --- boards/z1/include/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/z1/include/board.h b/boards/z1/include/board.h index 1d74335ad6..1e308b7eeb 100644 --- a/boards/z1/include/board.h +++ b/boards/z1/include/board.h @@ -94,7 +94,7 @@ extern "C" { * @name User button configuration * @{ */ -#define BTN0_PIN P2IN +#define BTN0_PIN GPIO_PIN(2, 5) #define BTN0_MASK (0x20) #define BTN0_MODE GPIO_IN -- GitLab