kopia lustrzana https://github.com/fsphil/hadie
Move RTTY_BAUD define into config.h
rodzic
5179344daf
commit
825f4d57b2
5
config.h
5
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
|
||||
|
|
2
rtty.c
2
rtty.c
|
@ -8,12 +8,10 @@
|
|||
/* copy should be included with this source. */
|
||||
|
||||
#include "config.h"
|
||||
#include <stdint.h>
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
#include <avr/pgmspace.h>
|
||||
|
||||
#define RTTY_BAUD (300)
|
||||
#define RTTY_DELAY (1000000 / RTTY_BAUD)
|
||||
|
||||
/* MARK = Upper tone, Idle, bit */
|
||||
|
|
Ładowanie…
Reference in New Issue