mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-02 14:36:20 -04:00
Cleanup
This commit is contained in:
parent
2dc4e73d38
commit
6b496c35eb
3 changed files with 6 additions and 13 deletions
10
Modem/afsk.h
10
Modem/afsk.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue