summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-06-16 21:51:40 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-06-18 21:10:42 +0300
commit83509adc3a6ac71db7c7be32026a351fe08dc13a (patch)
tree0b9c899a245fcdcf391f5492a8ef9f71b96146be /tmk_core
parent26eb97a4a8c260a9b5613d425bcdd175a4c67761 (diff)
Add empty timer functions
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/native/timer.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/native/timer.c b/tmk_core/common/native/timer.c
index 01d1930ea5..e21cd7d555 100644
--- a/tmk_core/common/native/timer.c
+++ b/tmk_core/common/native/timer.c
@@ -14,4 +14,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "timer.h"
+
+void timer_init(void) {}
+
+void timer_clear(void) {}
+
+uint16_t timer_read(void) { return 0; }
+uint32_t timer_read32(void) { return 0; }
+uint16_t timer_elapsed(uint16_t last) { return 0; }
+uint32_t timer_elapsed32(uint32_t last) { return 0; }