Fix build errors in Joystick device demo and library LEDs driver (on *nix systems).

This commit is contained in:
Dean Camera 2009-05-07 06:33:07 +00:00
parent 526e398986
commit 938f86d063
2 changed files with 6 additions and 5 deletions

View file

@ -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;