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