Browse Source

stm32/storage: Fix start address of second, internal block device.

pull/5725/head
Martin Fischer 5 years ago
committed by Damien George
parent
commit
7942d0b688
  1. 2
      ports/stm32/storage.c

2
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;

Loading…
Cancel
Save