This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 72ff383265e1bec2a84684d9049b884e2c18d1e2 Author: Ouss4 <abdelatif.guettou...@gmail.com> AuthorDate: Wed Jun 10 21:33:43 2020 +0100 boards/arm/stm32/stm3210e-eval/include/board.h: Fix buttons bits when CONFIG_DJOYSTICK is enabled. --- boards/arm/stm32/stm3210e-eval/include/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/stm32/stm3210e-eval/include/board.h b/boards/arm/stm32/stm3210e-eval/include/board.h index 0d33672..6a77ad8 100644 --- a/boards/arm/stm32/stm3210e-eval/include/board.h +++ b/boards/arm/stm32/stm3210e-eval/include/board.h @@ -213,7 +213,7 @@ #define BUTTON_TAMPER_BIT (1 << BUTTON_TAMPER) #define BUTTON_KEY_BIT (1 << BUTTON_KEY) -#ifdef CONFIG_DJOYSTICK +#ifndef CONFIG_DJOYSTICK # define JOYSTICK_SEL_BIT (1 << JOYSTICK_SEL) # define JOYSTICK_DOWN_BIT (1 << JOYSTICK_DOWN) # define JOYSTICK_LEFT_BIT (1 << JOYSTICK_LEFT)