* \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)
{
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.