summaryrefslogtreecommitdiffstats
path: root/drivers/avr/spi_master.h
diff options
context:
space:
mode:
authoritsnoteasy <pyrosoma1@yahoo.ie>2020-06-10 22:23:11 +0100
committerGitHub <noreply@github.com>2020-06-10 22:23:11 +0100
commit7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0 (patch)
treec48255b3861208d8b85e341b68bbc827b5f06711 /drivers/avr/spi_master.h
parente26bc21d1452dcf04332d300a874dacc8d74862d (diff)
adds support for the atmega328 (#9043)
Co-authored-by: Ryan <fauxpark@gmail.com>
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 b69c1cbd66..e36a7c21c0 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