X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fnet%2Fafsk.h;h=b23ba63dde1016e4ed0fb101ddf19066efab4e66;hb=69189320a33089d77c2623698c583a7a0fc48702;hp=bd82e66012d72eb9d5d5163f00dfcb3bfdc0d195;hpb=84970fa56eb2168c2d564ac17b1fa21b9e4daef4;p=bertos.git diff --git a/bertos/net/afsk.h b/bertos/net/afsk.h index bd82e660..b23ba63d 100644 --- a/bertos/net/afsk.h +++ b/bertos/net/afsk.h @@ -32,8 +32,7 @@ * * \brief AFSK1200 modem. * - * \version $Id$ - * \author Francesco Sacchi + * \author Francesco Sacchi * * $WIZ$ module_name = "afsk" * $WIZ$ module_configuration = "bertos/cfg/cfg_afsk.h" @@ -41,14 +40,16 @@ * $WIZ$ module_hw = "bertos/hw/hw_afsk.h" */ -#ifndef DRV_AFSK_H -#define DRV_AFSK_H +#ifndef NET_AFSK_H +#define NET_AFSK_H #include "cfg/cfg_afsk.h" #include "hw/hw_afsk.h" -#include #include + +#include + #include @@ -187,7 +188,7 @@ typedef struct Afsk uint16_t preamble_len; /** - * Preamble length. + * Trailer length. * After sending the actual data, the AFSK shifts out * trailer_len HDLC_FLAG characters. * This helps to synchronize the demodulator filters on the receiver side. @@ -210,7 +211,7 @@ void afsk_init(Afsk *af, int adc_ch, int dac_ch); /** - * \name afsk filter type + * \name Afsk filter types. * $WIZ$ afsk_filter_list = "AFSK_BUTTERWORTH", "AFSK_CHEBYSHEV" * \{ */ @@ -222,4 +223,4 @@ int afsk_testSetup(void); int afsk_testRun(void); int afsk_testTearDown(void); -#endif +#endif /* NET_AFSK_H */