From: Dean Camera Date: Tue, 29 Nov 2011 11:31:00 +0000 (+0000) Subject: Fix typo in the Joystick board driver documentation example code. X-Git-Tag: LUFA-120219~9 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/259a3c98540b85bf06fb80bdf5b3df311a19e352 Fix typo in the Joystick board driver documentation example code. --- diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h index 0d915769b..afbe97d81 100644 --- a/LUFA/Drivers/Board/Joystick.h +++ b/LUFA/Drivers/Board/Joystick.h @@ -83,7 +83,7 @@ * if (JoystickMovement & (JOY_LEFT | JOY_RIGHT)) * printf("%s ", (JoystickMovement & JOY_LEFT) ? "Left" : "Right"); * - * if (JoystickMovement & JOY_PRESSED) + * if (JoystickMovement & JOY_PRESS) * printf("Pressed"); * \endcode *