aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/spi.c')
-rw-r--r--src/avr/spi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/avr/spi.c b/src/avr/spi.c
index 1216ad1b..495e8330 100644
--- a/src/avr/spi.c
+++ b/src/avr/spi.c
@@ -17,7 +17,9 @@ static const uint8_t MOSI = GPIO('B', 3), MISO = GPIO('B', 4);
#elif CONFIG_MACH_atmega644p || CONFIG_MACH_atmega1284p
static const uint8_t SS = GPIO('B', 4), SCK = GPIO('B', 7);
static const uint8_t MOSI = GPIO('B', 5), MISO = GPIO('B', 6);
-#elif CONFIG_MACH_at90usb1286 || CONFIG_MACH_at90usb646 || CONFIG_MACH_atmega32u4 || CONFIG_MACH_atmega1280 || CONFIG_MACH_atmega2560
+#elif CONFIG_MACH_at90usb1286 || CONFIG_MACH_at90usb646 \
+ || CONFIG_MACH_atmega32u4 || CONFIG_MACH_atmega1280 \
+ || CONFIG_MACH_atmega2560
static const uint8_t SS = GPIO('B', 0), SCK = GPIO('B', 1);
static const uint8_t MOSI = GPIO('B', 2), MISO = GPIO('B', 3);
#endif