mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
Fixing the U64 vs FwSizeType argument change (#1879)
* Fixing the U64 vs FwSizeType argument change The code changed in the time the PR was being reviewed. This should fix the discrepancy. * fixing spelling error
This commit is contained in:
parent
36514483e3
commit
64788fa831
@ -234,15 +234,16 @@ namespace Svc {
|
||||
Fw::LogStringArg logStringFileName(fileName.toChar());
|
||||
this->log_ACTIVITY_HI_FileSizeStarted(logStringFileName);
|
||||
|
||||
U64 size;
|
||||
FwSizeType size_arg;
|
||||
const Os::FileSystem::Status status =
|
||||
Os::FileSystem::getFileSize(fileName.toChar(), size);
|
||||
Os::FileSystem::getFileSize(fileName.toChar(), size_arg);
|
||||
if (status != Os::FileSystem::OP_OK) {
|
||||
this->log_WARNING_HI_FileSizeError(
|
||||
logStringFileName,
|
||||
status
|
||||
);
|
||||
} else {
|
||||
U64 size = static_cast<U64>(size_arg);
|
||||
this->log_ACTIVITY_HI_FileSizeSucceeded(logStringFileName, size);
|
||||
}
|
||||
this->emitTelemetry(status);
|
||||
|
||||
@ -65,7 +65,7 @@ namespace Svc {
|
||||
const FwOpcodeType opCode, //!< The opcode
|
||||
const U32 cmdSeq, //!< The command sequence number
|
||||
const Fw::CmdStringArg& fileName, //!< The file to remove
|
||||
const bool ignoreErrors //!< Ignore non-existent files
|
||||
const bool ignoreErrors //!< Ignore missing files
|
||||
);
|
||||
|
||||
//! Implementation for MoveFile command handler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user