mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
boards/arm/stm32/stm3210e-eval/include/board.h: Fix buttons bits when
CONFIG_DJOYSTICK is enabled.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user