diff options
Diffstat (limited to 'ports/stm32/main.c')
-rw-r--r-- | ports/stm32/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c index c7b189dab..48b4692bc 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -201,7 +201,7 @@ MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) { led_state(PYB_LED_GREEN, 1); uint32_t start_tick = HAL_GetTick(); - uint8_t working_buf[_MAX_SS]; + uint8_t working_buf[FF_MAX_SS]; res = f_mkfs(&vfs_fat->fatfs, FM_FAT, 0, working_buf, sizeof(working_buf)); if (res == FR_OK) { // success creating fresh LFS |