Fix typo in the Joystick board driver documentation example code.

This commit is contained in:
Dean Camera 2011-11-29 11:31:00 +00:00
parent 24ca2d49fe
commit 259a3c9854
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
* if (JoystickMovement & (JOY_LEFT | JOY_RIGHT)) * if (JoystickMovement & (JOY_LEFT | JOY_RIGHT))
* printf("%s ", (JoystickMovement & JOY_LEFT) ? "Left" : "Right"); * printf("%s ", (JoystickMovement & JOY_LEFT) ? "Left" : "Right");
* *
* if (JoystickMovement & JOY_PRESSED) * if (JoystickMovement & JOY_PRESS)
* printf("Pressed"); * printf("Pressed");
* \endcode * \endcode
* *