diff options
-rw-r--r-- | ports/stm32/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/storage.c b/ports/stm32/storage.c index 0fa375095..e24dcdb62 100644 --- a/ports/stm32/storage.c +++ b/ports/stm32/storage.c @@ -42,7 +42,7 @@ #define STORAGE_IDLE_TICK(tick) (((tick) & ~(SYSTICK_DISPATCH_NUM_SLOTS - 1) & STORAGE_SYSTICK_MASK) == 0) #if defined(MICROPY_HW_BDEV2_IOCTL) -#define FLASH_PART2_START_BLOCK (FLASH_PART1_START_BLOCK + MICROPY_HW_BDEV2_IOCTL(BDEV_IOCTL_NUM_BLOCKS, 0)) +#define FLASH_PART2_START_BLOCK (FLASH_PART1_START_BLOCK + MICROPY_HW_BDEV_IOCTL(BDEV_IOCTL_NUM_BLOCKS, 0)) #endif static bool storage_is_initialised = false; |