mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Fix typo in the Joystick board driver documentation example code.
This commit is contained in:
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…
Reference in New Issue
Block a user