diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-03-16 02:11:43 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-03-16 02:11:43 +0100 |
commit | 98941cdc89d93f5387bb98a443f06408321acc8f (patch) | |
tree | 46286a0081b1f0c925951bf825fb4769cefadb51 /fw/fe310/eos/spi_dev.c | |
parent | d05eefaf7f10769ddae3840890af6a1e52440238 (diff) |
init code cleanup
Diffstat (limited to 'fw/fe310/eos/spi_dev.c')
-rw-r--r-- | fw/fe310/eos/spi_dev.c | 6 |
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; } |