You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/06/11 23:05:22 UTC
[incubator-nuttx] 01/04:
boards/arm/stm32/stm3210e-eval/include/board.h: Fix buttons bits when
CONFIG_DJOYSTICK is enabled.
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 <ab...@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)