From 2c2ff2d2ed33826406e52c328b7700bb943abe65 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 21:29:16 +0200 Subject: [PATCH] raspi --- README.md | 3 +++ src/irmc.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fd7ea1..92b73f5 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,16 @@ IRMC stands for Internet Relay Morse Code and is an implementation of [MOIP](htt # Building ## On Linux sudo apt-get install -y alsa-oss oss-compat build-essential autoconf libao-dev libtool libportaudio-dev portaudio19-dev +make ### On Raspi (GPIO Interface) Follow: http://wiringpi.com/download-and-install/ +make raspi ## On OSX brew install portaudio +make # Hardware interface options A good description on how to build different interfaces (telegraph key, sounder or both) diff --git a/src/irmc.c b/src/irmc.c index 31b5666..8c4ef03 100644 --- a/src/irmc.c +++ b/src/irmc.c @@ -33,7 +33,7 @@ int serial_status = 0, fd_serial, numbytes; double tx_timeout = 0; long tx_timer = 0; -#define TX_WAIT 1000 +#define TX_WAIT 5000 #define TX_TIMEOUT 240.0 #define KEEPALIVE_CYCLE 100