summaryrefslogtreecommitdiff
path: root/drivers/avr/spi_master.c
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-01-30 03:53:56 +0000
committerGitHub <noreply@github.com>2021-01-29 19:53:56 -0800
commitd92ffd1157e3ecc4ae2dbf8548c45c8b0269f664 (patch)
tree9a1a1f9d06fe6b9b41e982d37895e19749fe53ec /drivers/avr/spi_master.c
parent3780ab3fcd4888cba4852158e11c495fc9809306 (diff)
Adds AT90USB162 support (#11570)
* at90usb162 support * fix missing bracket * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'drivers/avr/spi_master.c')
-rw-r--r--drivers/avr/spi_master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/avr/spi_master.c b/drivers/avr/spi_master.c
index cbec9f36e1..19ca0ced44 100644
--- a/drivers/avr/spi_master.c
+++ b/drivers/avr/spi_master.c
@@ -20,7 +20,7 @@
#include "quantum.h"
#include "timer.h"
-#if defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__)
+#if defined(__AVR_AT90USB162__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__)
# define SPI_SCK_PIN B1
# define SPI_MOSI_PIN B2
# define SPI_MISO_PIN B3