diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-31 19:51:51 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-08-31 19:55:30 -0400 |
commit | 7031202e7c2c7f96eb351399f629d718e7733388 (patch) | |
tree | e7dda78c16419645393d641a73c58615eb912c8b /src/stm32/gpio.h | |
parent | 04db5f95d207749a370d5f4e0e3e9bdef2026ee3 (diff) | |
download | kutter-7031202e7c2c7f96eb351399f629d718e7733388.tar.gz kutter-7031202e7c2c7f96eb351399f629d718e7733388.tar.xz kutter-7031202e7c2c7f96eb351399f629d718e7733388.zip |
stm32: Add support for SPI1 and SPI3 busses
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/gpio.h')
-rw-r--r-- | src/stm32/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/gpio.h b/src/stm32/gpio.h index 0fe17596..13ab74bd 100644 --- a/src/stm32/gpio.h +++ b/src/stm32/gpio.h @@ -31,7 +31,7 @@ uint16_t gpio_adc_read(struct gpio_adc g); void gpio_adc_cancel_sample(struct gpio_adc g); struct spi_config { - void *spidev; + void *spi; uint32_t spi_cr1; }; struct spi_config spi_setup(uint32_t bus, uint8_t mode, uint32_t rate); |