From 825f4d57b239000a36cd1ec9076ec3ba03b4994a Mon Sep 17 00:00:00 2001 From: Philip Heron Date: Tue, 8 Jun 2010 11:28:37 +0100 Subject: [PATCH] Move RTTY_BAUD define into config.h --- config.h | 5 +++-- rtty.c | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 860fce7..596c699 100644 --- a/config.h +++ b/config.h @@ -11,7 +11,8 @@ #ifndef INC_CONFIG_H #define INC_CONFIG_H -#define F_CPU (7372800) /* Ticks per second */ -#define CALLSIGN "hadie" /* The mission callsign */ +#define F_CPU (7372800) /* Ticks per second */ +#define CALLSIGN "hadie" /* The mission callsign */ +#define RTTY_BAUD (300) /* RTTY baud rate */ #endif diff --git a/rtty.c b/rtty.c index 9ba1853..d5f72e7 100644 --- a/rtty.c +++ b/rtty.c @@ -8,12 +8,10 @@ /* copy should be included with this source. */ #include "config.h" -#include #include #include #include -#define RTTY_BAUD (300) #define RTTY_DELAY (1000000 / RTTY_BAUD) /* MARK = Upper tone, Idle, bit */