Fix build errors in Joystick device demo and library LEDs driver (on *nix systems).
This commit is contained in:
parent
526e398986
commit
938f86d063
2 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue