X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fafsk.h;h=d9ce6ff0ca0d59c225a899d0ce31a2d2e9f33383;hb=aea9c54dbb7ea4b957f675ffee7266e0432cfd42;hp=5f75b3e38d2b8d046c9a76324722bc2aa53df712;hpb=2a398044dd1d7b2af34a96c19ad378c25b546579;p=bertos.git diff --git a/bertos/net/afsk.h b/bertos/net/afsk.h index 5f75b3e3..d9ce6ff0 100644 --- a/bertos/net/afsk.h +++ b/bertos/net/afsk.h @@ -187,7 +187,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. @@ -205,12 +205,12 @@ INLINE Afsk *AFSK_CAST(KFile *fd) void afsk_adc_isr(Afsk *af, int8_t sample); -void afsk_dac_isr(Afsk *af); +uint8_t afsk_dac_isr(Afsk *af); 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" * \{ */