diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-11-29 11:31:00 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-11-29 11:31:00 +0000 |
commit | 259a3c98540b85bf06fb80bdf5b3df311a19e352 (patch) | |
tree | 3e7b666f5d0310e884636d495c4f98afcfaf7328 /LUFA/Drivers/Board/Joystick.h | |
parent | 24ca2d49fef526b95e6efcd3cdcbe38377ae4f02 (diff) | |
download | lufa-259a3c98540b85bf06fb80bdf5b3df311a19e352.tar.gz lufa-259a3c98540b85bf06fb80bdf5b3df311a19e352.tar.bz2 lufa-259a3c98540b85bf06fb80bdf5b3df311a19e352.zip |
Fix typo in the Joystick board driver documentation example code.
Diffstat (limited to 'LUFA/Drivers/Board/Joystick.h')
-rw-r--r-- | LUFA/Drivers/Board/Joystick.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |