summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-12-07 15:36:47 +1100
committerjacqueline <me@jacqueline.id.au>2022-12-07 15:36:47 +1100
commit01be69eca1fa89c047fc29f5cb0ea8ba0898dad1 (patch)
treed40f749b3ebf6327f13d51d585f7c315a6d864c3 /src/drivers/include
parentf35bb64c2b8dbb72fd15f1880e4d01d263660910 (diff)
downloadtangara-fw-01be69eca1fa89c047fc29f5cb0ea8ba0898dad1.tar.gz
better handling of chunk buffer
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*),