aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/stm32f1/include/series/spi.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmaple/stm32f1/include/series/spi.h b/libmaple/stm32f1/include/series/spi.h
index d288a0c..6a914f9 100644
--- a/libmaple/stm32f1/include/series/spi.h
+++ b/libmaple/stm32f1/include/series/spi.h
@@ -68,9 +68,10 @@ extern struct spi_dev *SPI3;
/* spi_gpio_cfg(): Backwards compatibility shim to spi_config_gpios() */
struct gpio_dev;
-extern void spi_config_gpios(struct spi_dev*, uint8,
- struct gpio_dev*, uint8,
- struct gpio_dev*, uint8, uint8, uint8);
+extern void spi_config_gpios(struct spi_dev *dev, uint8 as_master,
+ struct gpio_dev *nss_dev, uint8 nss_bit,
+ struct gpio_dev *comm_dev, uint8 sck_bit,
+ uint8 miso_bit, uint8 mosi_bit);
/**
* @brief Deprecated. Use spi_config_gpios() instead.
* @see spi_config_gpios()