projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045eee9
)
Fix typo.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Jun 2010 19:57:38 +0000
(19:57 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Jun 2010 19:57:38 +0000
(19:57 +0000)
Very hard to find bug!
It caused CPU starvation when there was no AFSK data.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3895
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/net/afsk.c
patch
|
blob
|
history
diff --git
a/bertos/net/afsk.c
b/bertos/net/afsk.c
index 229ca3ec359e0e44a5a2d8ffb5361ccfe9df35d3..0db7956a3c8991977487a44ca0ee03d5b3d0dd26 100644
(file)
--- a/
bertos/net/afsk.c
+++ b/
bertos/net/afsk.c
@@
-476,7
+476,7
@@
static size_t afsk_read(KFile *fd, void *_buf, size_t size)
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