From cef6216d58d299f67d60a787272f762796eb8f53 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Wed, 4 Sep 2002 08:12:37 +0000 Subject: [PATCH] added approx_fsec_to_usec macro --- include/timer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/timer.h b/include/timer.h index bbbe6324..f8e57554 100644 --- a/include/timer.h +++ b/include/timer.h @@ -1,4 +1,4 @@ -/* $Id: timer.h,v 1.3 2002-09-01 02:46:06 btb Exp $ */ +/* $Id: timer.h,v 1.4 2002-09-04 08:12:37 btb Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -117,6 +117,7 @@ void timer_delay(fix seconds); #define approx_usec_to_fsec(usec) ((usec) >> 4) +#define approx_fsec_to_usec(fsec) ((fsec) << 4) #define approx_msec_to_fsec(msec) ((msec) << 6) #define approx_fsec_to_msec(fsec) ((fsec) >> 6) -- 2.39.2