diff --git a/bdev.c b/bdev.c index 825c577..2c746d3 100644 --- a/bdev.c +++ b/bdev.c @@ -2,7 +2,7 @@ // External SPI flash uses standard SPI interface -STATIC const mp_soft_spi_obj_t soft_spi_bus = { +static const mp_soft_spi_obj_t soft_spi_bus = { .delay_half = MICROPY_HW_SOFTSPI_MIN_DELAY, .polarity = 0, .phase = 0, @@ -12,7 +12,7 @@ STATIC const mp_soft_spi_obj_t soft_spi_bus = { }; #if MICROPY_HW_SPIFLASH_ENABLE_CACHE -STATIC mp_spiflash_cache_t spi_bdev_cache; +static mp_spiflash_cache_t spi_bdev_cache; #endif const mp_spiflash_config_t spiflash_config = {