Fix typo in the Joystick board driver documentation example code.
This commit is contained in:
1 parent
24ca2d49fe
commit
259a3c9854
1 file changed
+1
-1
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user