From ad0c13191859f6606a065ec4f81a406220c5e489 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 12 Aug 2024 16:10:12 -0400 Subject: [PATCH] sim: stub out volume_partition() for sim targets Not sure why this doesn't blow up in more places, but eh.. Change-Id: I45214243c0d03a2156dca8f727caadde5f34c23f --- uisimulator/common/sim_tasks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c index 1f7e3bffcf..6ac2376316 100644 --- a/uisimulator/common/sim_tasks.c +++ b/uisimulator/common/sim_tasks.c @@ -270,6 +270,13 @@ int volume_drive(int volume) } #endif +int volume_partition(int volume) +{ + (void)volume; + /* Sims only implement a single parition per drive */ + return 0; +} + #if (CONFIG_STORAGE & STORAGE_MMC) bool mmc_touched(void) {