aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/avr/spi_master.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/avr/spi_master.h')
-rw-r--r--drivers/avr/spi_master.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/avr/spi_master.h b/drivers/avr/spi_master.h
index b69c1cbd6..e36a7c21c 100644
--- a/drivers/avr/spi_master.h
+++ b/drivers/avr/spi_master.h
@@ -25,7 +25,7 @@ typedef int16_t spi_status_t;
# define SPI_SS_PIN B0
#elif defined(__AVR_ATmega32A__)
# define SPI_SS_PIN B4
-#elif defined(__AVR_ATmega328P__)
+#elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)
# define SPI_SS_PIN B2
#endif