From 6bde4502945db8a7c7d1e03edcd0880a5c7a85ae Mon Sep 17 00:00:00 2001 From: Kyle Botteon Date: Wed, 17 Jan 2024 14:50:22 -0800 Subject: [PATCH] fix: baremetal filesystem readDirectory --- Os/Baremetal/FileSystem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Os/Baremetal/FileSystem.cpp b/Os/Baremetal/FileSystem.cpp index 61a6d44614..88a1e13eec 100644 --- a/Os/Baremetal/FileSystem.cpp +++ b/Os/Baremetal/FileSystem.cpp @@ -13,9 +13,11 @@ Status removeDirectory(const char* path) { return INVALID_PATH; } // end removeDirectory -Status readDirectory(const char* path, const U32 maxNum, Fw::String fileArray[]) { +Status readDirectory(const char* path, const U32 maxNum, Fw::String fileArray[], U32& numFiles) { + numFiles = 0; return OTHER_ERROR; -} +} // end readDirectory + Status removeFile(const char* path) { return OTHER_ERROR; } // end removeFile