X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=rf433rcv%2Fteensy%2Fexample.c;h=df393abe7bce9fa37e628c37aad41c98c9765792;hp=fdc89807f0fb40ab88543cdef14d26b8eaa7212f;hb=0caa04671fa16dbeb272fe5a9c62c91584d8419f;hpb=c8938dff4d29bb1f83be65d9c0645afc5f2745c6 diff --git a/rf433rcv/teensy/example.c b/rf433rcv/teensy/example.c index fdc8980..df393ab 100644 --- a/rf433rcv/teensy/example.c +++ b/rf433rcv/teensy/example.c @@ -175,7 +175,7 @@ ISR(TIMER0_COMPA_vect) PORTF&=~1; if (capture) { write_buffer[active_buffer][output_count/8]<<=1; - write_buffer[active_buffer][output_count++/8]|=PINB&1; + write_buffer[active_buffer][output_count++/8]|=PIND&1; if (output_count>=64*8) { output_count=0;