diff options
author | itsnoteasy <pyrosoma1@yahoo.ie> | 2020-06-10 22:23:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 22:23:11 +0100 |
commit | 7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0 (patch) | |
tree | c48255b3861208d8b85e341b68bbc827b5f06711 /drivers/avr/spi_master.c | |
parent | e26bc21d1452dcf04332d300a874dacc8d74862d (diff) |
adds support for the atmega328 (#9043)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'drivers/avr/spi_master.c')
-rw-r--r-- | drivers/avr/spi_master.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/avr/spi_master.c b/drivers/avr/spi_master.c index 32cc55c836..f91baf70ba 100644 --- a/drivers/avr/spi_master.c +++ b/drivers/avr/spi_master.c @@ -28,7 +28,7 @@ # define SPI_SCK_PIN B7 # define SPI_MOSI_PIN B5 # define SPI_MISO_PIN B6 -#elif defined(__AVR_ATmega328P__) +#elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__) # define SPI_SCK_PIN B5 # define SPI_MOSI_PIN B3 # define SPI_MISO_PIN B4 |