Make UpdateUsbReports() not exit prematurely even if a previously active USB interface is not polled anymore by the host. Tweak the Timer API to not set the current time automatically.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
// Functions:
|
||||
|
||||
void Timer_Init(void);
|
||||
void Timer_SetCurrentTime(uint32_t *time);
|
||||
uint32_t Timer_GetElapsedTime(uint32_t *time);
|
||||
uint32_t Timer_GetElapsedTimeAndSetCurrent(uint32_t *time);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user