diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
commit | 875a5b446fcf04314ee102624bda7ae18939837e (patch) | |
tree | 4030c2bce3f8fbeeed9cff560f5290d41ea3d2a7 /backend/backend.c | |
parent | a224e74fadd6393e25ec7392115892aec87dc11a (diff) |
remove time usec
Diffstat (limited to 'backend/backend.c')
-rw-r--r-- | backend/backend.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); +} |