From 9e9e6c0f1879bd2d9e367f4492a7f5b74c96d12e Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sun, 21 Sep 2025 23:31:10 +0200 Subject: [PATCH] Fix for include + code correctness --- Tactility/Source/hal/sdcard/SdCardMounting.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tactility/Source/hal/sdcard/SdCardMounting.cpp b/Tactility/Source/hal/sdcard/SdCardMounting.cpp index e66b4a1e..00bea3cb 100644 --- a/Tactility/Source/hal/sdcard/SdCardMounting.cpp +++ b/Tactility/Source/hal/sdcard/SdCardMounting.cpp @@ -1,6 +1,8 @@ #include #include +#include + namespace tt::hal::sdcard { constexpr auto* TAG = "SdCardMounting"; @@ -20,7 +22,7 @@ static std::string getMountPath(int index, int count) { } void mountAll() { - auto sdcards = hal::findDevices(Device::Type::SdCard); + const auto sdcards = hal::findDevices(Device::Type::SdCard); // Numbered mount path name for (int i = 0; i < sdcards.size(); i++) { auto sdcard = sdcards[i];