diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-07-01 12:20:59 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-07-01 12:20:59 +0200 |
commit | fda029b80d389a15328c789e17047da7e4089fdb (patch) | |
tree | 55d1313d1c9ea53534de4836af387352a6a1c610 /src/modem.h | |
parent | e6629281ffd30e5660b7e29003c0f9b40c586bdc (diff) | |
download | bbs-fda029b80d389a15328c789e17047da7e4089fdb.tar.gz |
wait for RING is now optional with define
Diffstat (limited to 'src/modem.h')
-rw-r--r-- | src/modem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modem.h b/src/modem.h index cf6e9d4..246018d 100644 --- a/src/modem.h +++ b/src/modem.h @@ -20,9 +20,11 @@ #define _AT_MUTE "ATM0\r\n" #define _AT_RESET_ON_DTR "AT&D3\r\n" +#define _MODEM_WAIT_RING + int modem_accept_wait(int fd); /* - * Waits for RING, accepts incoming calls. Return is non-zero when cennection fails. + * Waits for RING (ifdef _MODEM_WAIT_RING), accepts incoming calls. Return is non-zero when cennection fails. * */ int modem_command(int fd, char* cmd, int timeout_ms); |