projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee52b5
)
fixed inverted signal
author
Othmar Gsenger
<otti@realraum.at>
Wed, 14 Dec 2011 14:26:28 +0000
(14:26 +0000)
committer
Othmar Gsenger
<otti@realraum.at>
Wed, 14 Dec 2011 14:26:28 +0000
(14:26 +0000)
rf433rcv/teensy/example.c
patch
|
blob
|
history
diff --git
a/rf433rcv/teensy/example.c
b/rf433rcv/teensy/example.c
index
36d1b47
..
fdc8980
100644
(file)
--- a/
rf433rcv/teensy/example.c
+++ b/
rf433rcv/teensy/example.c
@@
-162,9
+162,9
@@
ISR(TIMER0_COMPA_vect)
{
if ( rf_send_buffer[rf_send_buf_pos/8] & (1<< (rf_send_buf_pos%8)))
{
- PORTF&=~1;
- } else {
PORTF|=1;
+ } else {
+ PORTF&=~1;
}
//rf_send_buffer[rf_send/8]>>=1;
rf_send_buf_pos++;