add event function CALL
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-08-02 09:44:22 +02:00
parent 2fda3e127e
commit 7fe676fed9
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -322,6 +322,7 @@ void ScexDeviceHandler::filesystemChecks() {
auto mntPrefix = sdcMan.getCurrentMountPrefix(); auto mntPrefix = sdcMan.getCurrentMountPrefix();
if (mntPrefix == nullptr or !sdcMan.isSdCardUsable(std::nullopt)) { if (mntPrefix == nullptr or !sdcMan.isSdCardUsable(std::nullopt)) {
sif::warning << "SCEX: Filesystem currently unavailable" << std::endl; sif::warning << "SCEX: Filesystem currently unavailable" << std::endl;
fsUnsableEvent();
} else { } else {
std::filesystem::path fullFilePath = mntPrefix; std::filesystem::path fullFilePath = mntPrefix;
std::error_code e; std::error_code e;