summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/spi_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/spi_dev.c')
-rw-r--r--fw/fe310/eos/spi_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fw/fe310/eos/spi_dev.c b/fw/fe310/eos/spi_dev.c
index abb616d..00b1a5b 100644
--- a/fw/fe310/eos/spi_dev.c
+++ b/fw/fe310/eos/spi_dev.c
@@ -37,13 +37,13 @@ int eos_spi_dev_select(unsigned char dev) {
}
switch (dev) {
case EOS_DEV_DISP:
- rv = eos_spi_start(dev, spi_dev_div[dev-1], SPI_CSID_DISP, 0);
+ rv = eos_spi_start(dev, spi_dev_div[dev - 1], SPI_CSID_DISP, 0);
break;
case EOS_DEV_CARD:
- rv = eos_spi_start(dev, spi_dev_div[dev-1], SPI_CSID_CARD, 0);
+ rv = eos_spi_start(dev, spi_dev_div[dev - 1], SPI_CSID_CARD, 0);
break;
case EOS_DEV_CAM:
- rv = eos_spi_start(dev, spi_dev_div[dev-1], SPI_CSID_NONE, SPI_CSPIN_CAM);
+ rv = eos_spi_start(dev, spi_dev_div[dev - 1], SPI_CSID_NONE, SPI_CSPIN_CAM);
break;
}