Fix typo in the Joystick board driver documentation example code.
This commit is contained in:
parent
24ca2d49fe
commit
259a3c9854
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue