From a333a908a8e404d2f9dd85ff31824ead8776ea9c Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Thu, 8 Apr 2021 11:33:52 -0300 Subject: [PATCH] examples: Update missing DJOYSTICK macro to new INPUT template --- examples/README.md | 2 +- examples/djoystick/djoy_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/README.md b/examples/README.md index 552a683dd..9fb6cb539 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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: diff --git a/examples/djoystick/djoy_main.c b/examples/djoystick/djoy_main.c index 41b494de0..a1a319732 100644 --- a/examples/djoystick/djoy_main.c +++ b/examples/djoystick/djoy_main.c @@ -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