diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-12-25 10:28:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-07 19:30:17 -0500 |
commit | ecba3e9a19236c04e93ff102bc5cde55fdc906ad (patch) | |
tree | edbbb473ed077a7b38a493ab250708e0effaad28 /src/sam3x8e/spi.c | |
parent | c3a2fc981d29202821e8a375005813fec76b32a7 (diff) | |
download | kutter-ecba3e9a19236c04e93ff102bc5cde55fdc906ad.tar.gz kutter-ecba3e9a19236c04e93ff102bc5cde55fdc906ad.tar.xz kutter-ecba3e9a19236c04e93ff102bc5cde55fdc906ad.zip |
sam3x8e: Add an internal.h header file with local definitions
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3x8e/spi.c')
-rw-r--r-- | src/sam3x8e/spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sam3x8e/spi.c b/src/sam3x8e/spi.c index 51799506..81e7b653 100644 --- a/src/sam3x8e/spi.c +++ b/src/sam3x8e/spi.c @@ -6,7 +6,8 @@ #include <sam3x8e.h> // REGPTR #include "command.h" // shutdown -#include "gpio.h" // gpio_peripheral +#include "gpio.h" // spi_setup +#include "internal.h" // gpio_peripheral #include "sched.h" // sched_shutdown #define REGPTR SPI0 |