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:
6c2b37e
)
fix capture of radio output
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 23 May 2013 17:43:07 +0000
(19:43 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 23 May 2013 17:43:07 +0000
(19:43 +0200)
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
1a9b01e
..
042f91b
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-330,7
+330,7
@@
static uint8_t get_input(int i)
#ifdef HOST_VERSION
return !!x[i];
#else
- return !!(PINB &
RADIO_BIT
);
+ return !!(PINB &
(1 << RADIO_BIT)
);
#endif
}