X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ea743970951cbcd6d5206b3136de8c9eb90298a5..958a1b4e2bffdc548b34edd322d30cec5d5feacd:/Demos/Device/Keyboard/Keyboard.h diff --git a/Demos/Device/Keyboard/Keyboard.h b/Demos/Device/Keyboard/Keyboard.h index 76b770582..c73701905 100644 --- a/Demos/Device/Keyboard/Keyboard.h +++ b/Demos/Device/Keyboard/Keyboard.h @@ -54,6 +54,9 @@ #include // LEDs driver /* Macros: */ + /** Idle period indicating that reports should be sent only when the inputs have changed */ + #define HID_IDLE_CHANGESONLY 0 + /** HID Class specific request to get the next HID report from the device. */ #define REQ_GetReport 0x01 @@ -114,8 +117,8 @@ /* Function Prototypes: */ void CreateKeyboardReport(USB_KeyboardReport_Data_t* ReportData); void ProcessLEDReport(uint8_t LEDReport); - static inline void SendNextReport(void); - static inline void ReceiveNextReport(void); + void SendNextReport(void); + void ReceiveNextReport(void); void UpdateStatus(uint8_t CurrentStatus); #endif