[Asterisk-cvs] zaptel ztdummy.c,1.13,1.14

markster markster
Fri Oct 21 15:11:50 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv31859

Modified Files:
	ztdummy.c 
Log Message:
Error out on ztdummy if 1000hz is not used (bug #5492)


Index: ztdummy.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztdummy.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ztdummy.c	31 Aug 2005 21:41:37 -0000	1.13
+++ ztdummy.c	21 Oct 2005 19:05:23 -0000	1.14
@@ -99,6 +99,9 @@
 #ifndef USE_RTC
 /* New 2.6 kernel timer stuff */
 static struct timer_list timer;
+#if HZ != 1000
+#error ztdummy requires 1000 hz jiffies
+#endif
 #endif
 #else
 #if LINUX_VERSION_CODE < VERSION_CODE(2,4,5)




More information about the svn-commits mailing list