examples: Update missing DJOYSTICK macro to new INPUT template
This commit is contained in:
parent
62e0c2451b
commit
a333a908a8
@ -266,7 +266,7 @@ driver in `nuttx/include/nuttx/input/djoystick.h`.
|
|||||||
|
|
||||||
Configuration Pre-requisites:
|
Configuration Pre-requisites:
|
||||||
|
|
||||||
- `CONFIG_DJOYSTICK` – The discrete joystick driver.
|
- `CONFIG_INPUT_DJOYSTICK` – The discrete joystick driver.
|
||||||
|
|
||||||
Example Configuration:
|
Example Configuration:
|
||||||
|
|
||||||
|
@ -54,8 +54,8 @@
|
|||||||
|
|
||||||
/* Configuration ************************************************************/
|
/* Configuration ************************************************************/
|
||||||
|
|
||||||
#ifndef CONFIG_DJOYSTICK
|
#ifndef CONFIG_INPUT_DJOYSTICK
|
||||||
# error "CONFIG_DJOYSTICK is not defined in the configuration"
|
# error "CONFIG_INPUT_DJOYSTICK is not defined in the configuration"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_EXAMPLES_DJOYSTICK_DEVNAME
|
#ifndef CONFIG_EXAMPLES_DJOYSTICK_DEVNAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user