summaryrefslogtreecommitdiff
path: root/ports/stm32/boards/STM32L476DISC/bdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/boards/STM32L476DISC/bdev.c')
-rw-r--r--ports/stm32/boards/STM32L476DISC/bdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/boards/STM32L476DISC/bdev.c b/ports/stm32/boards/STM32L476DISC/bdev.c
index 01f06b8b1..c76eb6e2c 100644
--- a/ports/stm32/boards/STM32L476DISC/bdev.c
+++ b/ports/stm32/boards/STM32L476DISC/bdev.c
@@ -16,7 +16,7 @@ STATIC mp_spiflash_cache_t spi_bdev_cache;
const mp_spiflash_config_t spiflash_config = {
.bus_kind = MP_SPIFLASH_BUS_SPI,
.bus.u_spi.cs = MICROPY_HW_SPIFLASH_CS,
- .bus.u_spi.data = (void*)&soft_spi_bus,
+ .bus.u_spi.data = (void *)&soft_spi_bus,
.bus.u_spi.proto = &mp_soft_spi_proto,
.cache = &spi_bdev_cache,
};