stm32/storage: Fix start address of second, internal block device.
This commit is contained in:
parent
6943fb60fe
commit
7942d0b688
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user