From 938f86d06321c1a29cf87201000a9dae4e5a7c25 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 7 May 2009 06:33:07 +0000 Subject: Fix build errors in Joystick device demo and library LEDs driver (on *nix systems). --- Demos/Device/Joystick/Joystick.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Demos') diff --git a/Demos/Device/Joystick/Joystick.c b/Demos/Device/Joystick/Joystick.c index cf136d076..e1faeede7 100644 --- a/Demos/Device/Joystick/Joystick.c +++ b/Demos/Device/Joystick/Joystick.c @@ -154,6 +154,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket) bool GetNextReport(USB_JoystickReport_Data_t* ReportData) { static uint8_t PrevJoyStatus = 0; + static uint8_t PrevButtonStatus = 0; uint8_t JoyStatus_LCL = Joystick_GetStatus(); uint8_t ButtonStatus_LCL = Buttons_GetStatus(); bool InputChanged = false; -- cgit v1.2.3