diff options
Diffstat (limited to 'zaptel.h')
-rw-r--r-- | zaptel.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -950,7 +950,13 @@ struct zt_tone_def { /* Structure for zone programming */ #define ZT_DEFAULT_PULSEAFTERTIME 750 /* 750ms between dial pulse digits */ #define ZT_MINPULSETIME (15 * 8) /* 15 ms minimum */ + +#ifdef SHORT_FLASH_TIME +#define ZT_MAXPULSETIME (80 * 8) /* we need 80 ms, not 200ms, as we have a short flash */ +#else #define ZT_MAXPULSETIME (200 * 8) /* 200 ms maximum */ +#endif + #define ZT_PULSETIMEOUT ((ZT_MAXPULSETIME / 8) + 50) #define ZT_RINGTRAILER (50 * 8) /* Don't consider a ring "over" until it's been gone at least this |