This commit is contained in:
Mark Qvist 2014-04-04 08:58:18 +02:00
parent 2dc4e73d38
commit 6b496c35eb
3 changed files with 6 additions and 13 deletions

View file

@ -10,9 +10,9 @@
#include <struct/fifobuf.h>
#define SAMPLERATE 9600
#define BITRATE 1200
#define SAMPLESPERBIT (SAMPLERATE / BITRATE)
#define SAMPLERATE 9600 // The rate at which we are sampling and synthesizing
#define BITRATE 1200 // The actual bitrate at baseband. This is the baudrate.
#define SAMPLESPERBIT (SAMPLERATE / BITRATE) // How many DAC/ADC samples constitute on bit (8).
typedef struct Hdlc
{
@ -99,8 +99,4 @@ void afsk_adc_isr(Afsk *af, int8_t sample);
uint8_t afsk_dac_isr(Afsk *af);
void afsk_init(Afsk *af, int adc_ch, int dac_ch);
//int afsk_testSetup(void);
//int afsk_testRun(void);
//int afsk_testTearDown(void);
#endif