X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fafsk.c;h=2b7fe0bedaa5df37b4e18e8f6283cae1f13e2073;hb=0f392f2c1c70334dce10428ff39d4d4e6f8b681c;hp=3f96d4daa7ce97fd4563ba7b1e9b4816594a288d;hpb=5aeea3525acc54b899ff8f53b6ed795f87e2667c;p=bertos.git diff --git a/bertos/net/afsk.c b/bertos/net/afsk.c index 3f96d4da..2b7fe0be 100644 --- a/bertos/net/afsk.c +++ b/bertos/net/afsk.c @@ -127,7 +127,7 @@ INLINE uint8_t sin_sample(uint16_t idx) * \param bit current bit to be parsed. * \param fifo FIFO buffer used to push characters. * - * \return True if all is ok, False if the fifo is full. + * \return true if all is ok, false if the fifo is full. */ static bool hdlc_parse(Hdlc *hdlc, bool bit, FIFOBuffer *fifo) { @@ -209,7 +209,7 @@ static bool hdlc_parse(Hdlc *hdlc, bool bit, FIFOBuffer *fifo) * ADC ISR callback. * This function has to be called by the ADC ISR when a sample of the configured * channel is available. - * \param af Afsk context to operate one (\see Afsk). + * \param af Afsk context to operate on. * \param curr_sample current sample from the ADC. */ void afsk_adc_isr(Afsk *af, int8_t curr_sample) @@ -340,7 +340,7 @@ static void afsk_txStart(Afsk *af) * This function has to be called by the DAC ISR when a sample of the configured * channel has been converted out. * - * \param af Afsk context to operate one (\see Afsk). + * \param af Afsk context to operate on. * * \return The next DAC output sample. */ @@ -535,7 +535,7 @@ static void afsk_clearerr(KFile *fd) /** * Initialize an AFSK1200 modem. - * \param af Afsk context to operate one (\see Afsk). + * \param af Afsk context to operate on. * \param adc_ch ADC channel used by the demodulator. * \param dac_ch DAC channel used by the modulator. */