goebish/nrf24_multipro

some optimization perhaps

silver13 opened this issue · 2 comments

msg[i] = bit_reverse(msg[i]) ^ bit_reverse(xn297_scramble[i+xn297_addr_len]);

sorry to open an issue, don't seem to know how to leave a comment lol

I think the line is equivalent to

    msg[i] = bit_reverse(msg[i]^xn297_scramble[i+xn297_addr_len]) ;

I think you're right, I'll change it once (if 😛 ) I implement crc in receive.

cool, haven't tested it