diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-10-21 19:05:23 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-10-21 19:05:23 +0000 |
commit | 9fd0f4620b0232c6ac3a67fe7515116a2e3620ba (patch) | |
tree | cc0d42f0a84f8a360bf3a3bca59e942b9bc7ee9b | |
parent | 1570ecb70cddf9cd9d3da2509cf7e8207400050a (diff) |
Error out on ztdummy if 1000hz is not used (bug #5492)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@796 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | ztdummy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -99,6 +99,9 @@ static int debug = 0; #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) |