/** Timer 0 CTC ISR, firing once each millisecond to keep track of elapsed idle time in the HID interface. */\r
ISR(TIMER0_COMPA_vect, ISR_BLOCK)\r
{\r
- if (Keyboard_HID_Interface.State.IdleMSRemaining)\r
- Keyboard_HID_Interface.State.IdleMSRemaining--;\r
+ HID_Device_MillisecondElapsed(&Keyboard_HID_Interface);\r
}\r
\r
/** HID Class driver callback function for the creation of a HID report for the host.\r