*
* \brief AFSK1200 modem.
*
- * \version $Id$
* \author Francesco Sacchi <asterix@develer.com>
*/
* \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)
{
* 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)
* 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.
*/
ticks_t start = timer_clock();
#endif
- while (fifo_isempty_locked(&af->rx_fifo));
+ while (fifo_isempty_locked(&af->rx_fifo))
{
cpu_relax();
#if CONFIG_AFSK_RXTIMEOUT != -1
/**
* 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.
*/