diff options
author | Martin Fischer <fischer.carlito@gmail.com> | 2020-04-13 23:40:29 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-16 16:25:20 +1000 |
commit | 7942d0b688075a42e78f87152f952ad4c2976f44 (patch) | |
tree | fce332cb189ebc8f3dd7833cc7c9ea094862de40 | |
parent | 6943fb60fea1c9ce40e7c62d1a17f306fea730d2 (diff) |
stm32/storage: Fix start address of second, internal block device.
-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; |