Fix typo in the Joystick board driver documentation example code.

pull/1469/head
Dean Camera 13 years ago
parent 24ca2d49fe
commit 259a3c9854

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

Loading…
Cancel
Save