projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
net
/
afsk.c
diff --git
a/bertos/net/afsk.c
b/bertos/net/afsk.c
index a87754416d25872346baef3acac6e90581183639..d7ac8bf0cb7a32fc22d08780ae272fc7046e9862 100644
(file)
--- a/
bertos/net/afsk.c
+++ b/
bertos/net/afsk.c
@@
-32,8
+32,7
@@
*
* \brief AFSK1200 modem.
*
*
* \brief AFSK1200 modem.
*
- * \version $Id$
- * \author Francesco Sacchi <asterix@develer.com>
+ * \author Francesco Sacchi <batt@develer.com>
*/
#include "afsk.h"
*/
#include "afsk.h"
@@
-127,7
+126,7
@@
INLINE uint8_t sin_sample(uint16_t idx)
* \param bit current bit to be parsed.
* \param fifo FIFO buffer used to push characters.
*
* \param bit current bit to be parsed.
* \param fifo FIFO buffer used to push characters.
*
- * \return
True if all is ok, F
alse if the fifo is full.
+ * \return
true if all is ok, f
alse if the fifo is full.
*/
static bool hdlc_parse(Hdlc *hdlc, bool bit, FIFOBuffer *fifo)
{
*/
static bool hdlc_parse(Hdlc *hdlc, bool bit, FIFOBuffer *fifo)
{
@@
-477,7
+476,7
@@
static size_t afsk_read(KFile *fd, void *_buf, size_t size)
ticks_t start = timer_clock();
#endif
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
{
cpu_relax();
#if CONFIG_AFSK_RXTIMEOUT != -1