diff --git a/avr/send.c b/avr/send.c index c91f3c7..4178196 100644 --- a/avr/send.c +++ b/avr/send.c @@ -32,8 +32,8 @@ static uint8_t spi_send_byte(uint8_t value) { _delay_us(SPI_PULSE_USEC); - ret <<= 1; value <<= 1; + ret <<= 1; if (SI_IS_HIGH()) { ret |= 1;