Logo
Explore Impressum Grow Tools Help
Sign In
uhk/firmware
1
0
Fork 0
You've already forked firmware
Code Issues Pull Requests Releases Wiki Activity
1,684 Commits 4 Branches 53 Tags
5cd4030a9381ab77a7ccf86feda38953d1266af4
Commit Graph

8 Commits

Author SHA1 Message Date
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
Powered by Gitea Version: 1.25.1 Page: 113ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API