aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/Joystick/Joystick.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-07-21 16:19:32 +0000
committerDean Camera <[email protected]>2010-07-21 16:19:32 +0000
commit6bda628718f67c04ed43e8328f55bdce5319c504 (patch)
treeefd08eefa90cef94440f880a70902f5803fb12a7 /Demos/Device/LowLevel/Joystick/Joystick.c
parent83e293a6ec98c7faad1b76dd312b31b86cbeecc1 (diff)
downloadqmk_firmware-6bda628718f67c04ed43e8328f55bdce5319c504.tar.gz
qmk_firmware-6bda628718f67c04ed43e8328f55bdce5319c504.zip
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
Diffstat (limited to 'Demos/Device/LowLevel/Joystick/Joystick.c')
-rw-r--r--Demos/Device/LowLevel/Joystick/Joystick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/Joystick/Joystick.c b/Demos/Device/LowLevel/Joystick/Joystick.c
index 6ced1ce44e..561914a5c5 100644
--- a/Demos/Device/LowLevel/Joystick/Joystick.c
+++ b/Demos/Device/LowLevel/Joystick/Joystick.c
@@ -141,7 +141,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void)
*
* \return Boolean true if the new report differs from the last report, false otherwise
*/
-bool GetNextReport(USB_JoystickReport_Data_t* ReportData)
+bool GetNextReport(USB_JoystickReport_Data_t* const ReportData)
{
static uint8_t PrevJoyStatus = 0;
static uint8_t PrevButtonStatus = 0;