git.droids-corp.org
/
beacon-rx-433.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8252ed
)
fix beep when beacon is detected
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 23 May 2013 17:44:59 +0000
(19:44 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 23 May 2013 17:44:59 +0000
(19:44 +0200)
the variable i was not incremented, therefore the code did not generate
the square signal for the buzzer
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
042f91b
..
d60f4a8
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-398,8
+398,8
@@
int main(void)
set_output(i);
-#ifdef HOST_VERSION
i ++;
+#ifdef HOST_VERSION
if (i >= sizeof(x))
break;
#endif