More commenting

This commit is contained in:
Mark Qvist 2014-04-06 20:26:24 +02:00
parent b4de1f73ea
commit 19cca9487a
6 changed files with 66 additions and 26 deletions

View file

@ -2,12 +2,16 @@
#ifndef FSK_CFG
#define FSK_CFG
#define CONFIG_AFSK_RX_BUFLEN 64
#define CONFIG_AFSK_TX_BUFLEN 64
#define CONFIG_AFSK_DAC_SAMPLERATE 9600
#define CONFIG_AFSK_RXTIMEOUT 0
#define CONFIG_AFSK_RX_BUFLEN 64 // The size of the modems receive buffer
#define CONFIG_AFSK_TX_BUFLEN 64 // The size of the modems transmit buffer
#define CONFIG_AFSK_DAC_SAMPLERATE 9600 // The samplerate of the DAC. Note that
// changing it here will not change the
// actual sample rate. It is defined here
// so various functions can use it.
#define CONFIG_AFSK_RXTIMEOUT 0 // How long a read operation from the modem
// will wait for data before timing out.
#define CONFIG_AFSK_PREAMBLE_LEN 500UL
#define CONFIG_AFSK_TRAILER_LEN 100UL
#define CONFIG_AFSK_PREAMBLE_LEN 250UL // The length of the packet preamble in milliseconds
#define CONFIG_AFSK_TRAILER_LEN 100UL // The length of the packet tail in milliseconds
#endif