László Monda
|
98f7d512de
|
Extract CurrentTime and remove Timer_{Get,Set}CurrentTime()
|
2018-10-04 20:38:36 +02:00 |
|
Kristian Sloth Lauszus
|
6612f7cced
|
Fixed warning
|
2018-06-30 22:48:52 +02:00 |
|
Kristian Sloth Lauszus
|
d449123fab
|
Fix PIT timer period and added functions for getting the current time in microseconds
|
2018-06-22 17:39:22 +02:00 |
|
Kristian Sloth Lauszus
|
6e2eca7829
|
Changed CurrentTime to a static variable and added function for getting the current time instead
Global variables are really bad practice and should be avoided
|
2018-03-11 17:59:23 +01:00 |
|
Kristian Sloth Lauszus
|
0b100feb32
|
Global variables shared between an interrupt and the main code should be volatile
See: https://www.embedded.com/electronics-blogs/beginner-s-corner/4023801/Introduction-to-the-Volatile-Keyword
|
2018-03-11 02:37:59 +01:00 |
|
László Monda
|
2eb25ce05c
|
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.
|
2017-12-07 03:24:53 +01:00 |
|
László Monda
|
332f2a69fa
|
Set up the timer properly and introduce CurrentTime.
|
2017-11-12 17:33:23 +01:00 |
|
László Monda
|
a91f945591
|
Add timer.[ch]
|
2017-11-12 04:48:06 +01:00 |
|