summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/storage.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/include/storage.hpp b/src/drivers/include/storage.hpp
index aa736793..64ce4782 100644
--- a/src/drivers/include/storage.hpp
+++ b/src/drivers/include/storage.hpp
@@ -26,7 +26,7 @@ class SdStorage {
};
static auto create(GpioExpander* gpio)
- -> cpp::result<std::unique_ptr<SdStorage>, Error>;
+ -> cpp::result<std::shared_ptr<SdStorage>, Error>;
SdStorage(GpioExpander* gpio,
esp_err_t (*do_transaction)(sdspi_dev_handle_t, sdmmc_command_t*),