From 875a5b446fcf04314ee102624bda7ae18939837e Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 30 Oct 2017 15:43:06 -0400 Subject: remove time usec --- backend/backend.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/backend.c') diff --git a/backend/backend.c b/backend/backend.c index d5cd1f70..ed21fa1f 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -136,3 +136,7 @@ error_session: wlr_session_destroy(session); return NULL; } + +uint32_t usec_to_msec(uint64_t usec) { + return (uint32_t)(usec / 1000); +} -- cgit v1.2.3