Replaced timer macros with inlines

This commit is contained in:
jsteube
2016-10-01 12:55:39 +02:00
parent ac3b850e40
commit 743dba56db
6 changed files with 47 additions and 29 deletions
+1 -3
View File
@@ -186,9 +186,7 @@ void ResumeThreads (status_ctx_t *status_ctx)
{
if (status_ctx->devices_status != STATUS_PAUSED) return;
double ms_paused;
hc_timer_get (status_ctx->timer_paused, ms_paused);
double ms_paused = hc_timer_get (status_ctx->timer_paused);
status_ctx->ms_paused += ms_paused;