mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
examples: Update missing DJOYSTICK macro to new INPUT template
This commit is contained in:
parent
62e0c2451b
commit
a333a908a8
2 changed files with 3 additions and 3 deletions
|
|
@ -266,7 +266,7 @@ driver in `nuttx/include/nuttx/input/djoystick.h`.
|
|||
|
||||
Configuration Pre-requisites:
|
||||
|
||||
- `CONFIG_DJOYSTICK` – The discrete joystick driver.
|
||||
- `CONFIG_INPUT_DJOYSTICK` – The discrete joystick driver.
|
||||
|
||||
Example Configuration:
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_DJOYSTICK
|
||||
# error "CONFIG_DJOYSTICK is not defined in the configuration"
|
||||
#ifndef CONFIG_INPUT_DJOYSTICK
|
||||
# error "CONFIG_INPUT_DJOYSTICK is not defined in the configuration"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_DJOYSTICK_DEVNAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue