From 9d384463698ffdfe4f5c6d2db812ee24b91a8a2a Mon Sep 17 00:00:00 2001 From: EmergReanimator Date: Tue, 4 Jan 2022 21:07:56 +0100 Subject: [PATCH] Fixed build issue when INTERNAL_FLASH_FILESYSTEM, DISABLE_FILESYSTEM set --- supervisor/stub/internal_flash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisor/stub/internal_flash.c b/supervisor/stub/internal_flash.c index 3a4ba935de..23e843c923 100644 --- a/supervisor/stub/internal_flash.c +++ b/supervisor/stub/internal_flash.c @@ -46,7 +46,8 @@ uint32_t supervisor_flash_get_block_count(void) { return 0; } -void supervisor_flash_flush(void) { +void port_internal_flash_flush(void) { + return; } mp_uint_t supervisor_flash_read_blocks(uint8_t *dest, uint32_t block, uint32_t num_blocks) {