Revision
16144
Author
anthm
Date
2010-01-04 15:32:10 -0600 (Mon, 04 Jan 2010)

Log Message

fix power of 10 in cps counter

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_time.c (16143 => 16144)


--- freeswitch/trunk/src/switch_time.c	2010-01-04 21:02:40 UTC (rev 16143)
+++ freeswitch/trunk/src/switch_time.c	2010-01-04 21:32:10 UTC (rev 16144)
@@ -69,7 +69,7 @@
 
 static int STEP_MS = 10;
 static int STEP_MIC = 10000;
-static uint32_t TICK_PER_SEC = 100;
+static uint32_t TICK_PER_SEC = 1000;
 
 static int MS_PER_TICK = 10;
 
@@ -230,11 +230,11 @@
 	if (MATRIX) {
 		STEP_MS = 1;
 		STEP_MIC = 1000;
-		TICK_PER_SEC = 1000;
+		TICK_PER_SEC = 10000;
 	} else {
 		STEP_MS = 10;
 		STEP_MIC = 10000;
-		TICK_PER_SEC = 100;
+		TICK_PER_SEC = 1000;
 	}
 	switch_time_sync();
 }
@@ -379,7 +379,7 @@
 			MS_PER_TICK = timer->interval;
 			STEP_MS = 1;
 			STEP_MIC = 1000;
-			TICK_PER_SEC = 1000;
+			TICK_PER_SEC = 10000;
 			switch_time_sync();
 		}