diff options
Diffstat (limited to 'can.c')
-rw-r--r-- | can.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -246,10 +246,11 @@ ISR(INT0_vect) static void can_preinit(void) { - can_rx_addr.u = 0; spi_ss(1); #ifndef R0KET + can_rx_addr.u = 0; + DDRB |= (1 << B_SCK) | (1 << B_MOSI) | (1 << B_SS); /* divisor: 0 0 0 = fosc / 4 = 2 MHz */ |