From ab5238317b34965510796f1cd97c073b349883d1 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 1 May 2019 21:55:56 -0400 Subject: [PATCH] avr: Simplify spi mode setting Signed-off-by: Kevin O'Connor --- src/avr/spi.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/avr/spi.c b/src/avr/spi.c index 319c51d6..d89e94b1 100644 --- a/src/avr/spi.c +++ b/src/avr/spi.c @@ -73,28 +73,7 @@ spi_setup(uint32_t bus, uint8_t mode, uint32_t rate) } // Setup mode - config.spcr |= (1<