examples: Update missing DJOYSTICK macro to new INPUT template

This commit is contained in:
Gustavo Henrique Nihei 2021-04-08 11:33:52 -03:00 committed by Alan Carvalho de Assis
parent 62e0c2451b
commit a333a908a8
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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