diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-12-28 20:51:34 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-07 19:33:26 -0500 |
commit | 212813906a7ae3b81b47ac12648f3080ba26dbde (patch) | |
tree | fd0a890a7c84fcade4698a5844b53928b6a7b706 /src/sam3/gpio.h | |
parent | 4683036f98b319d1c36853c1a200d63c36b470ff (diff) | |
download | kutter-212813906a7ae3b81b47ac12648f3080ba26dbde.tar.gz kutter-212813906a7ae3b81b47ac12648f3080ba26dbde.tar.xz kutter-212813906a7ae3b81b47ac12648f3080ba26dbde.zip |
sam3: Merge sam4e_spi.c into spi.c
Determine at runtime if the SPI or USART devices should be used.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3/gpio.h')
-rw-r--r-- | src/sam3/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3/gpio.h b/src/sam3/gpio.h index 26a05aff..e106e094 100644 --- a/src/sam3/gpio.h +++ b/src/sam3/gpio.h @@ -30,7 +30,7 @@ uint16_t gpio_adc_read(struct gpio_adc g); void gpio_adc_cancel_sample(struct gpio_adc g); struct spi_config { - void *sspi; + void *spidev; uint32_t cfg; }; struct spi_config spi_setup(uint32_t bus, uint8_t mode, uint32_t rate); |